Skip to content

Commit 4f8221b

Browse files
authored
docs: Install the right version of the react devtools (#6941)
1 parent 11b336e commit 4f8221b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/framework/react/devtools.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ When you begin your React Query journey, you'll want these devtools by your side
1313
1414
## Install and Import the Devtools
1515

16-
The devtools are a separate package that you need to install:
16+
The devtools are a separate package that you need to install.
17+
18+
The major version of all the packages must be in sync.
1719

1820
```bash
19-
$ npm i @tanstack/react-query-devtools
21+
$ npm i @tanstack/react-query-devtools@4
2022
# or
21-
$ pnpm add @tanstack/react-query-devtools
23+
$ pnpm add @tanstack/react-query-devtools@4
2224
# or
23-
$ yarn add @tanstack/react-query-devtools
25+
$ yarn add @tanstack/react-query-devtools@4
2426
```
2527

2628
You can import the devtools like this:

0 commit comments

Comments
 (0)