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:
and finally run
npm start to see your app live on localhost:
Now React app successfully installed.
If you see something like this in your browser, you are ready to work with React. Congratulations! :)
Thank you for reading!