Replies: 1 comment
-
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? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There was already a discussion about that, but unfortunately the solution doesn't work for me.
The thing is:
What I want to have
Sandbox
useEffect()
to achieve thatuseEffect()
? When I comment out theuseEffect()
, the only way to get the new data into the DOM is to refetch query 1 and then to refetch query 2Many thanks
Beta Was this translation helpful? Give feedback.
All reactions