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

useQuery result is never in error state #9

Open
thomasballinger opened this issue Sep 23, 2024 · 0 comments
Open

useQuery result is never in error state #9

thomasballinger opened this issue Sep 23, 2024 · 0 comments

Comments

@thomasballinger
Copy link
Collaborator

see https://discord.com/channels/1019350475847499849/1278420438149496952/1287820179883167806

The code as written doesn't use the onError callback to const unsubscribe = client.onUpdate(), which isn't required; but the code as written also isn't catching the error.

The change I'm trying out is using onUpdate and also catching the error from client.client.localQueryResult().

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