figbird
figbird copied to clipboard
Add `useRealtime` / `useEvents` hook
useRealtime((event, payload) => {})
You could handle events this way and do things like refetch/update local component state in a specific way, etc.
Possibly, pass in params with query as well, so that data could be prefiltered. To enable this use case: