How to Install React ?
In this tutorial i’m going to learn how to install React
How to Install Create-React-App
In order to install your app, first go to your workspace (desktop or a folder) and run the following command:
Go to your visual code and open terminal there as below.
npx create-react-app my-app
How to Run the App You Created with Create-React-App
After the installation is completed, change to the directory where your app was installed:
cd my-app
and finally run npm start
to see your app live on localhost:
npm start
Now React app successfully installed.
2nd step
cd my-app
npm start
If you see something like this in your browser, you are ready to work with React. Congratulations! :)
Thank you for reading!