figbird icon indicating copy to clipboard operation
figbird copied to clipboard

Add `useRealtime` / `useEvents` hook

Open KidkArolis opened this issue 4 years ago • 1 comments

useRealtime((event, payload) => {})

You could handle events this way and do things like refetch/update local component state in a specific way, etc.

KidkArolis avatar Apr 07 '20 17:04 KidkArolis

Possibly, pass in params with query as well, so that data could be prefiltered. To enable this use case:

image

KidkArolis avatar Apr 07 '20 17:04 KidkArolis