We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fetching
Describe the bug Changing variables in useQuery causes fetching to get stuck on true, even when data has finished requerying.
variables
useQuery
true
Steps to reproduce Steps to reproduce the behavior: https://codesandbox.io/s/urql-fetching-bug-8xond
Expected behavior fetching goes back to false after data requeries (or gets it from cache).
false
Actual behavior fetching stays at true
The text was updated successfully, but these errors were encountered:
The data field seems broken too. Probably just missing dependency in useMemo or something.
data
useMemo
Sorry, something went wrong.
Interesting! I can confirm that this is happening and I’ll look into it
A fix for this is ready and it does cause the correct behaviour again in the CodeSandbox 🙌
The fix in #503 is now published with v1.8.1 🎉
v1.8.1
Successfully merging a pull request may close this issue.
Describe the bug
Changing
variables
inuseQuery
causesfetching
to get stuck ontrue
, even when data has finished requerying.Steps to reproduce
Steps to reproduce the behavior:
https://codesandbox.io/s/urql-fetching-bug-8xond
Expected behavior
fetching
goes back tofalse
after data requeries (or gets it from cache).Actual behavior
fetching
stays attrue
The text was updated successfully, but these errors were encountered: