Skip to content

Refetching of dependent queries #8027

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

You must be logged in to vote

query 2 refetches if the data from query1 have changed

then data from query1 needs to be part of the queryKey of query2. We have a lint rule that enforces this, I guess you aren't using it?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JakubGIT
Comment options

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