Course lesson

Setup React Query and QueryClientProvider

To use React Query throughout your application you'll need to import and create a new instance of QueryClient and pass that to the QueryClientProvider component in the root of your app.

Duration
2 min
Access
Free
Transcript
Retained from source evidence

To use React Query throughout your application you'll need to import and create a new instance of QueryClient and pass that to the QueryClientProvider component in the root of your app.