Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add useRealtime / useEvents hook #5

Open
KidkArolis opened this issue Apr 7, 2020 · 1 comment
Open

Add useRealtime / useEvents hook #5

KidkArolis opened this issue Apr 7, 2020 · 1 comment

Comments

@KidkArolis
Copy link
Collaborator

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

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

@KidkArolis
Copy link
Collaborator Author

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant