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
For my app, as the initial data was saved in local storage, I do not wish to make network call and show spinner. After upgrade to v2, I noticed that the app stuck at isLoading equal to true https://codesandbox.io/s/react-query-2-initialdata-k1gpk
Describe the bug
For my app, as the initial data was saved in local storage, I do not wish to make network call and show spinner. After upgrade to v2, I noticed that the app stuck at
isLoading
equal to truehttps://codesandbox.io/s/react-query-2-initialdata-k1gpk
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should load the data in for weekly and monthly
Actual behavior
Data does not change
Desktop (please complete the following information):
Additional context
I tried another approach using
setQueryData
, it was working in v1, issue here: #649The text was updated successfully, but these errors were encountered: