Skip to content

Refetching of dependent queries #8027

Answered by TkDodo
JakubGIT asked this question in Q&A
Sep 5, 2024 · 1 comments · 3 replies
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 3 replies

Comment options

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

@JustinGrote
Comment options

@JustinGrote
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
3 participants