command to create react app
npx create-react-app my-app
cd my-app
npm start
command to create react app
npx create-react-app my-app
cd my-app
npm start
install react js
npx create-react-app <appname> // eg: npx create-react-app blog
cd <appname> // cd blog
npm start //runs on localhost:3000
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+.
create react app
npm install --save typescript @types/node @types/react @types/react-dom @types/jest
# or
yarn add typescript @types/node @types/react @types/react-dom @types/jest
React js tutorial
npx create-react-app my-app
cd my-app
cd src
# If you're using a Mac or Linux:
rm -f *
# Or, if you're on Windows:
del *
# Then, switch back to the project folder
cd ..
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us