-
I'm using the dehydration method as explained here and now I'm wondering if it makes any sense to set a staleTime for the queries which run on the server or does the whole query gets deleted after the request was served? |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Oct 7, 2023
Replies: 1 comment
-
when rendering on the server, you create a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Zerebokep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when rendering on the server, you create a
new QueryClient()
for every request, so there is no cached data. settingstaleTime
will likely not do much.