Multiple QueryClientProvider #8033
Unanswered
KamilSlaweta
asked this question in
General
Replies: 1 comment
-
the client holds the cache, so if you do this, the components in those sub-trees will have an isolated cache, no deduplication with other trees etc. The devtools also can only display for one cache. |
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
-
Hi, I have a question about having many
QueryClientProvider
within the app. Let's suppose, we have the provider:and it is being used like:
We have got some legacy code and have been slowly migrating to react query. I am wondering if such structure could bring us some issues. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions