How to install react , A simplest guide
👨💻Rohit 🪄
Posted on November 17, 2021
Intro:
Hey there this is Rohit, today I am going to share an easiest guide for how to install react for beginners, So let's get into itWhat is react :
React is amazing JavaScript library for building front-end user interfaces.Pre-requisites :
Before installing react we need to install node which is cross-platform JavaScript runtime environment, with node it comes with npm i.e node package manager which allow you to install packages and dependencies.note: If you have already installed node in your system you can skip this step and move on to next
Let's Install React :
Installing React is the most easiest thing to do for that we need only one command in your terminal or PowerShell:npx create-react-app project-name
That's it after this command press enter on your keyboard and wait for npm to install all the dependencies and packages.
Congratulations you have successfully installed react for the project, Now enter these following commands to launch react on browser:
open the project directory by this command:
cd project-name
npm start
If you see this, Now you are good to go.
Conclusion :
I hope you enjoyed this installation guide for React.js. If you have any questions or comments about this article, Comment me Thank you for reading, I am always excited when one of our posts is able to provide useful information on a topic like this!💖 💪 🙅 🚩
👨💻Rohit 🪄
Posted on November 17, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
react Smart Dropdowns in React: Using useReducer and useRef for Outside Click Handling
October 16, 2024