Commands for creating your first app with React Note - Make sure that Node.js is installed in your system
npx create-react-app app-name
Note - In some of the system with PC name contain spaces, the above command shows error and will fail to build the app. They can try below command instead of above on to fix that.
npm install -g create-react-app
create-react-app app-name
cd app-name
npm start
The above commands open a localhost window in your default browser. Goto app-name/src/App.js Edit this App.js file and changes can be reviewed in the browser.