Is there a way to set default staleTime
for prefetchQuery()
using new QueryClient({defaultOptions: {}})
?
#6036
Answered
by
TkDodo
frederikhors
asked this question in
Q&A
-
Is there a way to set default |
Beta Was this translation helpful? Give feedback.
Answered by
TkDodo
Sep 19, 2023
Replies: 1 comment 2 replies
-
I don't understand the question |
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
queryClient.setQueryDefaults(key, defaults)
will work