Unable to set QueryClientProvider #594
Replies: 2 comments 2 replies
-
It's hard to know for sure what's happening here. From the code you provided, it looks like this is a question for the React Query folx. If you could throw together a minimal reproduction in Codesandbox, I'd be happy to verify whether there's an issue in PixiJS React, though. |
Beta Was this translation helpful? Give feedback.
-
so i was working on this issue and manage to find a solution (though im not too sure how or why this works)
if there's anyone who might know why this works i would be glad to learn about it :D |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
"Uncaught Error: No QueryClient set, use QueryClientProvider to set one"
the above error was shown when I was trying to call a hook inside a child component of a stage. I've tried to wrap the stage with a QueryClientProvider as shown below
however i would still receive the error where the QueryClient is not set. is there any other solutions or am I doing something not allowed here?
edit: didn't know that my code was being obscured
Beta Was this translation helpful? Give feedback.
All reactions