Seeing multiple QueryCache instances #1258
Unanswered
howdyitshelena
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! 👋
My app has
<ReactQueryCacheProvider />
at the top level, and one of the components brings in other children React components as a runtime dependency. I have one of the nested children components making auseQuery
hook call, and am seeing that the nested child component is not using theQueryCache
instance from the top level.When I open up
ReactQueryDevtools
, I only see the queries that are being made from components that are not runtime dependencies.The structure is loosely like:
Has anyone else seen similar behavior?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions