Answers for "create react app with latest package version"

4

new create react app

npx create-react-app my-app
cd my-app
npm start
//Note:npx on the first line is not a typo — 
//it’s a package runner tool that comes with npm 5.2+.
Posted by: Guest on September-02-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 "create react app with latest package version"

Code answers related to "Javascript"

Browse Popular Code Answers by Language