Articles → REACT.JS → Create Your First React Js Application

Create Your First React Js Application





  1. Install node.js
  2. Add React developer tool
  3. Install create-react-app
  4. Create your first react application
  5. Run the application

What Is React.Js?





Install Node.Js





Add React Developer Tool




Picture showing the chrome window for adding Add React developer tool add-in
Click to Enlarge


Install Create-React-App




npm install -g create-react-app


Picture showing the node.js command prompt window for installing create-react-app
Click to Enlarge


Create Your First React Application




npx create-react-app@5.0.1 myfirstreactjsapp




Picture showing the command prompt for creating the first react project using create-react-app
Click to Enlarge


Run The Application




cd myfirstreactjsapp
npm start


Picture showing the command prompt for running the react application
Click to Enlarge



Picture showing your first react page in the chrome browser
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, July 22, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250