Skip to content

Commit

Permalink
docs: Install the right version of the react devtools (#6941)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fullchee authored Feb 20, 2024
1 parent 11b336e commit 4f8221b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/framework/react/devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ When you begin your React Query journey, you'll want these devtools by your side
## Install and Import the Devtools

The devtools are a separate package that you need to install:
The devtools are a separate package that you need to install.

The major version of all the packages must be in sync.

```bash
$ npm i @tanstack/react-query-devtools
$ npm i @tanstack/react-query-devtools@4
# or
$ pnpm add @tanstack/react-query-devtools
$ pnpm add @tanstack/react-query-devtools@4
# or
$ yarn add @tanstack/react-query-devtools
$ yarn add @tanstack/react-query-devtools@4
```

You can import the devtools like this:
Expand Down

0 comments on commit 4f8221b

Please sign in to comment.