React Query – Essentials course errata

I’m learning React Query, specifically by going through Tanner Linsley’s React Query – Essentials course on Teachable.

I had heard that there are some version-related inconsistencies in the course, and sure enough, I’ve run into them. The associated repo is also out-of-date, so no help there.

I’m documenting them here as I encounter them in case it can save someone else some error-chasing.

Also, I’ve found the “Migrating to React Query 3” documentation very helpful; once I have an idea what the issue is, it often shows “the new code” that I need to fix it.

Queries β†’ Basic Queries

As soon as I tried adding the query, I got the following error:

No QueryClient set, use QueryClientProvider to set one

As you might guess, this means you have to use something called QueryClientProvider. My initial attempts to import and use it within the existing code didn’t work well, so I simply copied the sample code from the React Query docs and modified it to function like the course code.

Queries β†’ React Query Devtools

In React Query 3, the devtools are included in the main package. Instead of installing react-query-devtools via Yarn as shown in the video, simply import them like so:

import { ReactQueryDevtools } from 'react-query/devtools'

Otherwise, you’ll get the following error:

Uncaught TypeError: Cannot read properties of undefined (reading 'queries')

Queries β†’ Disabling Queries

When using the enabled config option, I got the following error:

Uncaught Error: Expected enabled to be a boolean

That’s because in version 3, the value is required to be a boolean. Instead of passing pokemon as the value (which is a string), I’m casting it to a bool by passing it like so:

enabled: !!pokemon,

5 Comments

  1. prijava na binance on February 22, 2026 at 12:54 pm

    Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

  2. lisinopril hctz on March 12, 2026 at 6:43 am

    lisinopril hctz

    lisinopril hctz

  3. ursodiol cost on March 14, 2026 at 7:02 am

    ursodiol cost

    ursodiol cost

  4. vardenafil hydrochloride on March 20, 2026 at 1:42 am

    vardenafil hydrochloride

    vardenafil hydrochloride

  5. Registrera dig on March 22, 2026 at 12:55 pm

    Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://www.binance.com/es-AR/register?ref=UT2YTZSU

Leave a Comment





This site uses Akismet to reduce spam. Learn how your comment data is processed.