Skip to content
Discussion options

You must be logged in to vote

Not sure I fully understand. If you unmount a component that has useQuery, the query will become inactive. No more fetching will go on for that query. It sounds like you have the query still mounted somewhere.

Can you try and create a minimal codesandbox example to reproduce your issue please.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@krishnar97
Comment options

@TkDodo
Comment options

@krishnar97
Comment options

Answer selected by TkDodo
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