Answers for "react upgrade project"

0

update react app

//NPM
npm install --save react@latest

//Yarn
yarn upgrade react@latest
Posted by: Guest on March-25-2021
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 "Javascript"

Browse Popular Code Answers by Language