Why Does useQuery Fetch Again on the Client Even with the Same Query Key? #8379
Unanswered
quantumgravity-co-kr
asked this question in
Q&A
Replies: 1 comment
-
because |
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
-
The staleTime is set to 0.
Is this the expected behavior? Shouldn’t the client avoid fetching if the query was already executed on the server with the same key?
To ensure fetching only happens on the server, do I need to use getQueryData instead?
Beta Was this translation helpful? Give feedback.
All reactions