From 663c6c87b59cb164132deeb101ff785dd08cb62b Mon Sep 17 00:00:00 2001 From: Aaron Scherer Date: Thu, 8 Oct 2020 15:42:13 -0500 Subject: [PATCH 1/3] Remove unnecessary --save in install instructions Thankfully, `--save` hasn't been necessary with NPM for some time now :) --- docs/src/pages/docs/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/docs/installation.md b/docs/src/pages/docs/installation.md index 9a82ca3198..76ad08164b 100644 --- a/docs/src/pages/docs/installation.md +++ b/docs/src/pages/docs/installation.md @@ -10,7 +10,7 @@ You can install React Query with [NPM](https://npmjs.com), ### NPM ```sh -npm install react-query --save +npm install react-query ``` or From 4ecc63c620a78633bdddf978b5c2b33ac20f07f8 Mon Sep 17 00:00:00 2001 From: Aaron Scherer Date: Thu, 8 Oct 2020 15:43:39 -0500 Subject: [PATCH 2/3] Update devtools.md --- docs/src/pages/docs/devtools.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/docs/devtools.md b/docs/src/pages/docs/devtools.md index 287a234566..1eb9f7900d 100644 --- a/docs/src/pages/docs/devtools.md +++ b/docs/src/pages/docs/devtools.md @@ -12,7 +12,7 @@ When you begin your React Query journey, you'll want these devtools by your side To get going as fast as possible, do the following: ```bash -$ npm i --save react-query-devtools +$ npm i react-query-devtools # or $ yarn add react-query-devtools ``` From ad777e2137f36bfa32c012190a5afdb89959cd3e Mon Sep 17 00:00:00 2001 From: Aaron Scherer Date: Thu, 8 Oct 2020 15:44:07 -0500 Subject: [PATCH 3/3] making uniform with devtools instructions --- docs/src/pages/docs/installation.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/src/pages/docs/installation.md b/docs/src/pages/docs/installation.md index 76ad08164b..a8953babb8 100644 --- a/docs/src/pages/docs/installation.md +++ b/docs/src/pages/docs/installation.md @@ -9,14 +9,10 @@ You can install React Query with [NPM](https://npmjs.com), ### NPM -```sh -npm install react-query -``` - -or - -```sh -yarn add react-query +```bash +$ npm i react-query +# or +$ yarn add react-query ``` React Query is compatible with React v16.8+ and works with ReactDOM and React Native.