Setup React Query and QueryClientProvider

Share this video with your friends

Send Tweet

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.

Andre Ferreira
Andre Ferreira
~ 4 months ago

The lesson description lacks the link to the API repository, and the one I found in Tomasz's repositories doesn't work with this course code: https://github.com/ducin/egghead-typescript

Tomasz Ducin
Tomasz Ducin(instructor)
~ 3 months ago

hi Andre, thanks for noticing! That's the repo: https://github.com/ducin/egghead-react-query. We'll link it in the course description.

Isaac
Isaac
~ 2 months ago

For some reason the linked repo branches provided are in the final lesson state, making it impossible to follow along. An intro video explaining the base repo and getting to the INITIAL state on this lesson would be more helpful.