Parallel queries from two components #361
-
Is it a bug or a feature?
In another component
The result: both queries return loading status, do retries and eventually error. I try to use here the cache from one component in another |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
This is intentional. My suggestion:
|
Beta Was this translation helpful? Give feedback.
-
I understand the recommended approach about query extraction. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Right. If you need to subscribe to the query, you'll have to use |
Beta Was this translation helpful? Give feedback.
-
Github new interface :) |
Beta Was this translation helpful? Give feedback.
-
May I suggest some contribution to documentation |
Beta Was this translation helpful? Give feedback.
Right. If you need to subscribe to the query, you'll have to use
useQuery
. I recommend a custom hook. I do this almost all the time.