You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our react app we updated urql to 2.0.10. We found out that the fetching state is not turning to true while reexecuting a query.
urql version & exchanges:
higher than 2.0.6
Steps to reproduce
Create a React useQuery hook (doesn't matter if it is paused or not).
Call the reexecuteQuery function (in 'network-only' mode) returned from the useQuery hook.
Expected behavior
The fetching state (in the result from the useQuery ) turns to true while calling the reexecuteQuery, than to false after the query is finished.
Actual behavior
The fetching state filps to true only the first time we calling the query, but never again, it remains false.
In our react app we updated urql to 2.0.10. We found out that the fetching state is not turning to true while reexecuting a query.
urql version & exchanges:
higher than 2.0.6
Steps to reproduce
Expected behavior
The fetching state (in the result from the useQuery ) turns to true while calling the reexecuteQuery, than to false after the query is finished.
Actual behavior
The fetching state filps to true only the first time we calling the query, but never again, it remains false.
https://codesandbox.io/s/urql-reexecute-query-fetching-state-issue-egw2et?file=/src/Foo.jsx
The text was updated successfully, but these errors were encountered: