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
1//open terminal and run thsi code
2cd newreact
3//where newreact is the old react app you created
4//open package.json in text editor and change the version to latest
5//open the same terminal gain and run this
6npm install
7