Skip to content

useQuery making another request rather than re-using cache from prior ensureQueryData call #8003

Answered by TkDodo
manu-remsense asked this question in Q&A
Discussion options

You must be logged in to vote

is the queryClient you pass into the router context the same one as you pass to the QueryClientProvider ? If no, that's your issue. If yes, please show a full reproduction.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@manu-remsense
Comment options

Answer selected by manu-remsense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants