React Guide Updates (#37)

* React Guide Updates

Some more updates to the docs as I use the library more

* added saving of dependencies
This commit is contained in:
jemboh 2022-04-11 17:21:17 +01:00 committed by GitHub
parent 6fe3731f0c
commit 7b5b218370
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ This may not be necessary if you do not use `react-scripts` or if you use webpac
Start by installing the polyfill libraries:
```shell
npm install assert buffer crypto-browserify stream-browserify
npm install --save assert buffer crypto-browserify process stream-browserify
```
### Webpack 5
@ -157,7 +157,7 @@ Use `cra-webpack-rewired` in the `package.json`, instead of `react-scripts`:
Then, install [js-waku](https://npmjs.com/package/js-waku):
```shell
npm install js-waku
npm install --save js-waku
```
Start the dev server and open the dApp in your browser: