Skip to content

Commit 07f06b9

Browse files
authored
docs: Remove unnecessary --save in install instructions (TanStack#1149)
* Remove unnecessary --save in install instructions Thankfully, `--save` hasn't been necessary with NPM for some time now :) * Update devtools.md * making uniform with devtools instructions
1 parent 8582a9a commit 07f06b9

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

docs/src/pages/docs/devtools.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ When you begin your React Query journey, you'll want these devtools by your side
1212
To get going as fast as possible, do the following:
1313

1414
```bash
15-
$ npm i --save react-query-devtools
15+
$ npm i react-query-devtools
1616
# or
1717
$ yarn add react-query-devtools
1818
```

docs/src/pages/docs/installation.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,10 @@ You can install React Query with [NPM](https://npmjs.com),
99

1010
### NPM
1111

12-
```sh
13-
npm install react-query --save
14-
```
15-
16-
or
17-
18-
```sh
19-
yarn add react-query
12+
```bash
13+
$ npm i react-query
14+
# or
15+
$ yarn add react-query
2016
```
2117

2218
React Query is compatible with React v16.8+ and works with ReactDOM and React Native.

0 commit comments

Comments
 (0)