-
Notifications
You must be signed in to change notification settings - Fork 8
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 is not stable #50
Comments
Thanks for reporting! I am going to try to reproduce but if you are able to help by creating a sandbox it would speed things up. |
To be honest, I can't recall why I wrote |
Hello there again. By PR this do you mean replace the useQuery with my current implementation or should I add the useStableQuery ? I'll probably get some time tomorrow to try and replicate a minimum sandbox and send it to you. |
Replace |
Good day.
I recently found out that a useQuery used in a hook I was trying to debug kept being triggered even though the objects weren't changing which caused an infinite loop used in a useEffect
I currently found a work around by creating a stable immutable query hook
The text was updated successfully, but these errors were encountered: