1//Is used to update the version only such as 16.0.0 can be update to latest 16.13.0 but..
2//but.. 15.0.0 can't be updated to 16.13.0 or to 16.0.0 with this
3npm update react
4
5//Use this to go from 15.0.0 to 16.13.0
6npm install --save react@latest
1npm install --save react@latest
2//specific version
3npm install --save react@16.0.0
1//Is used to update the version only; such as 16.0.0 can be update to latest 16.13.0 but..
2//but.. 15.0.0 can't be updated to 16.13.0 or to 16.0.0 with this
3npm update react
4
5//Use this to go from 15.0.0 to 16.13.0
6npm install --save react@latest