React Query has been one of the fastest growing and most popular third party libraries in the React ecosystem, and this course will teach you everything you need to ship it like a pro.
Toss out that granular state management, manual refetching and endless bowls of async-spaghetti code. You’ll learn how React Query gives you declarative, always-up-to-date auto-managed queries and mutations that directly improve both your developer and user experiences.
Built in collaboration with Dominik Dorfmeister and the rest of the React Query core team, this course will give you a first principles understanding of both how React Query works under the hood as well as how to write React Query code that scales.
Here’s what you’ll learn:
-
Laying the Foundation
- Why React Query
- Query Fundamentals
- Deduplication
- Query Lifecycle
- Queries, Caching, and Observers
-
Querying Data
- Fetching Data
- Fetching with Parameters
- Data Synchronization
- Fetching on Demand
- Garbage Collection
-
Advanced Query Patterns
- Polling
- Dependent Queries
- Parallel Queries (useQueries)
- Avoiding Loading States (Prefetching)
- Pagination
- Infinite Queries
-
Handling User Interactions
- Performing Updates
- Linking Mutations to Queries
- Optimistic Updates
- Usage with Forms
-
Scaling Your App
- Customizing Query Defaults
- Validating Query Data
- Performance Optimizations
- Managing Query Keys
- Error Handling
-
Plugins & Adapters
- Offline Support
- Persist Queries
- Persist Mutations
- Building an Adapter
-
Testing
- Testing Queries
- Testing Mutations
-
Bonus
- Server Side Rendering
- Suspense
- WebSockets
If you’ve never taken a ui.dev course before, here’s what you can expect:
In short, we’re obsessed with creating technical content that is both enjoyable and easy to consume. Counter culture, we know – but it leads to rave reviews where “the best online course I’ve ever taken” is something we hear on a daily basis.
That’s why we were so stoked when Tanner, the creator of React Query, approached us about creating an official course.
React Query is beautifully simple and we couldn’t be more excited to bring it to life with this course. Beyond text and videos, we did that in a few different ways:
Throughout the course, you’ll be given interactive visuals that represent core React Query topics. These visuals serve to help you understand concepts in a more intuitive way.
Take this one, for example. It demonstrates how React Query works under the hood when data needs revalidation.
Next, we wanted to create a “Leetcode for React Query” type experience. One that challenged the passiveness of typical online courses.
Every time you learn something new, you’ll be immediately thrown into an environment where you can apply that knowledge in a practical, real life scenario.
What’s great about these challenges, as Kunal discovered, is that each one feels like a lesson in and of itself.
Every single challenge throughout the entire course is inspired by a situation you’d discover in a real-world React Query application.
These aren’t lazy screencasts filmed in someone’s guest bedroom.
We spent an uncomfortable amount of time making sure each video is worth your attention.
Here’s a sneak preview:
This video is part of the first lesson, available in our free course preview you can try out for yourself.
Next up, quizzes.
Yeah, these are just boring quizzes. But they do a great job of making sure you’re understanding the material and are heading in the right direction.
Quiz yourself
What is the purpose of the query key?
Quiz yourself
What is the difference between staleTime and gcTime?
Quiz yourself
True or false: React Query automatically refetches when staleTime is exceeded?
This is the best way to learn how to use React Query in real-world applications.
Tanner Linsley React Query creator
Ready to master
React Query?
Whether you’re a beginner or seasoned professional, this is course will take you to the next level.
Expansion Pack
$495/yr
Level Up All Year- 35 lessons
- Over 350 minutes of video
- 30 quizzes and 22 challenges
- Access to our full course library
Sections included:
- Welcome
- Laying The Foundation
- Querying Data
- Advanced Query Patterns
- Handling User Interactions
- Scaling Your App
- Plugins & Adapters
- Testing
- Bonus
PLUS access to all our courses:
- react.gg
- Advanced JavaScript
- Modern JavaScript
- React Router
- Classic React
- Typescript
- React w/ Typescript
Full Course
$375
Get the Full Course- 35 lessons
- Over 350 minutes of video
- 30 quizzes and 22 challenges
- Lifetime access to course
Sections included:
- Welcome
- Laying The Foundation
- Querying Data
- Advanced Query Patterns
- Handling User Interactions
- Scaling Your App
- Plugins & Adapters
- Testing
- Bonus
Starter Pack
$245
Get the Starter Pack- 20 lessons
- Over 196 minutes of video
- 19 quizzes and 16 challenges
- Lifetime access to course
Sections included:
- Welcome
- Laying The Foundation
- Querying Data
- Advanced Query Patterns
- Handling User Interactions
- Scaling Your App
- Plugins & Adapters
- Testing
- Bonus
Customized Team Training
We’ve spent the last decade training developers at the world’s most respected technology companies.
We’ll work with you to create a custom plan that helps your team ship better software, faster.
Schedule a CallWhat we offer...
- Custom Learning Paths
- Monthly Checkins
- Progress Reports
- Analytics
- Certifications
- Invoicing
- Live Workshops
- Access to Full Course Library
Our other courses:
- react.gg
- Advanced JavaScript
- Modern JavaScript
- React Router
- Classic React
- Typescript
- React w/ Typescript
Full Course
$356$375
Enjoy your 5% off bulk discount(Add 5 more licenses to get 10% off)Get the Full Course
- 35 lessons
- Over 350 minutes of video
- 30 quizzes and 22 challenges
- Lifetime access to course
Sections included:
- Welcome
- Laying The Foundation
- Querying Data
- Advanced Query Patterns
- Handling User Interactions
- Scaling Your App
- Plugins & Adapters
- Testing
- Bonus
Expansion Pack
$470/yr$495
Enjoy your 5% off bulk discount(Add 5 more licenses to get 10% off)Level Up All Year
- 35 lessons
- Over 350 minutes of video
- 30 quizzes and 22 challenges
- Access to our full course library
Sections included:
- Welcome
- Laying The Foundation
- Querying Data
- Advanced Query Patterns
- Handling User Interactions
- Scaling Your App
- Plugins & Adapters
- Testing
- Bonus
PLUS access to all our courses:
- react.gg
- Advanced JavaScript
- Modern JavaScript
- React Router
- Classic React
- Typescript
- React w/ Typescript
Is there a way to preview the course content before purchasing?
Yes, you can get a feel for what the course is like as well as take a few of the lessons, quizzes, and challenges from the course dashboard.
Are there any pre-requisites for this course?
Yes, we assume you have a solid understanding of both JavaScript and React. If you don’t, check out our React course first.
What version of React Query does the course use?
The course uses the latest version of @tanstack/react-query
.
Does this course have captions?
Yes.
Do you get a completion certificate?
Yes.
Does the course use TypeScript?
Not by default, but there are callouts throughout the course where we highlight TypeScript specific features of React Query.
Can I get an invoice?
Yes, after your purchase.
What do I do if I get stuck?
Each lesson has a public discussion thread embedded in the lesson where you can ask questions and get help. Course instructors are also notified and can help you out.
Do you offer PPP?
Yes. You’ll see it in the pricing section if you’re in a country that qualifies.
If you do use a PPP discount, you’ll only be able to access the course in the country where you purchased it.
Will I automatically get access to the rest of the course once it’s available?
Yes, and we’ll notify you once it’s available.
Does the “Expansion Pack” include lifetime access to query.gg?
It doesn’t. Think of the “Expansion Pack” as a subscription to ui.dev. You’ll get access to all of the content for as long as your subscription is active (like Netflix).
How can I get this for my team?
You can change the number of course licenses you’d like to purchase on the “Teams” pricing page.
After completing your purchase, you’ll be able to distribute your licenses to your team members, keep track of their progress, and more.
Can my team just share a single account?
No. It’s pretty obvious if you do and we’ll ban your account. We have bulk purchase options available here.