Replies: 2 comments 2 replies
-
@TkDodo does the queries state give any clue as to what might have happened? |
Beta Was this translation helpful? Give feedback.
0 replies
-
you are persisting the query as you are overwriting the default query/packages/query-core/src/hydration.ts Lines 72 to 74 in 357ec04 It would be wise to also include this check when overwriting it. Also, please use the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I would like one of my queries (variableDetails) to be saved to localstorage (I want all other queries to always fetch from backend), this is my setup:
and when I look in localstorage there is evidence of this working, however I don't see any of the variableDetails data in here, and when I refresh the page the data is always refetched successfully, certainly not being read from localstorage.
what am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions