React installation

For React installation we can proceed with by installing node js . Download node js from Node Js   .After installation of node js check node js is installed correctly with following commands.


React installation

React installation


Type following command in command prompt (cmd in window and terminal in Ubuntu)

node -v

for node package manager

npm -v

Now after installing node js now its time to install ReactJs

Instead of using webpack and babel we are installing react with create-react-app 

Create React App

npx create-react-app MyFirstApp


npm init react-app MyFirstApp

Change directory to

cd MyFirstApp

And start the npm with following code

npm start




Leave a Reply

Your email address will not be published. Required fields are marked *