Prerequisites:
Install Yarn package manager: sudo npm install -g yarn
You can create a React.js application using one of the following commands: yarn create react-app myreactapp
Except yarn, you can also use npx (npx create-react-app myreactapp) or npm (npm init react-app myreactapp) commands to create React.js application.
On successful application creation, you will see a long result on screen.
Switch to project and run yarn start to start application.
cd myreactapp
yarn start





