Reputation: 5726
I'm unable to wrap my code with the QueryClientProvider
.
Is that possible to configure the react-query in a different way? I can't modify anything inside any of the render functions.
Upvotes: 1
Views: 1544
Reputation: 28733
No, it’s not possible. React Query uses React context to distribute the QueryClient.
Upvotes: 1