Persisting Seeded Cache #8676
Unanswered
kyusungpark
asked this question in
Q&A
Replies: 1 comment
-
|
https://tanstack.com/query/v5/docs/framework/react/plugins/persistQueryClient#usage-with-react |
Beta Was this translation helpful? Give feedback.
0 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, I follow @TkDodo 's doc and seed individual cache for a query. I want to persist this cache that I am seeding and was wondering if this is done automatically without any other additional settings. I ask this because I noticed that I had to add gcTime manually when seeding cache and wanted to know if I have to something similar to persist it.
I use
meta: { maxAge: xxx }to persist queries.Any help would be awesome!
Beta Was this translation helpful? Give feedback.
All reactions