Skip to content

To confirm: a query doesn't re-run if the queryKey is the same but receives a new queryFn? #9165

Answered by TkDodo
aryzing asked this question in Q&A
Discussion options

You must be logged in to vote

yes, that’s right. We don’t check function equality - that’s what the queryKey is for.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aryzing
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