Answers for "how to update react"

1

install react latest version

npm install --save react@latest
//specific version
npm install --save [email protected]
Posted by: Guest on November-01-2020
1

how to update react app

//open terminal and run thsi code 
cd newreact
//where newreact is the old react app you created
//open package.json in text editor and change the version to latest
//open the same terminal gain and run this
npm install
Posted by: Guest on September-02-2020

Code answers related to "how to update react"

Code answers related to "Javascript"

Browse Popular Code Answers by Language