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
Loading indicator appeared instead of a previously cached result
Expected behavior
I'd expect the behavior described in the documentation:
The query immediately returns the available cached value while the fetchTodos function is being run in the background to populate the query with a fresh value.
The text was updated successfully, but these errors were encountered:
Describe the bug
When the
useQuery
is being unmounted and mounted again, it throws suspense even if cacheTime wasn't expired.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I'd expect the behavior described in the documentation:
The text was updated successfully, but these errors were encountered: