Replies: 1 comment
-
|
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
-
Using the experimental_createPersister, i notice that if a
gcTime
andmaxAge
are set as follows as per the docs: https://tanstack.com/query/v5/docs/framework/react/plugins/createPersister...the data is stored to the persister storage but it is also refetched unless a
staleTime
is also set.In the context of the experimental_createPersister, what is the difference between
maxAge
andstaleTime
and how best should they be used together?Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions