update create react app
snippet in javascript

update create react app

user5146

npm install react-scripts@latest

create-react-app

user6790

npx create-react-app my-app
cd my-app
npm start

how to update react app

user6087

//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