Tanstack Query cache and reloading #6811
Unanswered
nataliasposts
asked this question in
Q&A
Replies: 1 comment 4 replies
-
because the cache is in-memory only and doesn't persist between page loads unless you opt in into persisters |
Beta Was this translation helpful? Give feedback.
4 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
Could someone explain me, I call useQuery in the main page. I took this data from query cache on another page and reload this page by hand, in the result I have cache is empty. Why?
Beta Was this translation helpful? Give feedback.
All reactions