Address
304 North Cardinal St.
Dorchester Center, MA 02124
Work Hours
Monday to Friday: 7AM - 7PM
Weekend: 10AM - 5PM
ReactJS’s popularity today has eclipsed that of all other front-end development frameworks. Here is why:
Below are some of the advantages of React:
We just went through that React is a library that has been developed and powered by Facebook.
But what is a library and why React isn’t a framework?
ECMAScript is a JavaScript standard that was put in place to ensure that all different browsers like Google Chrome, Edge from Windows, or Safari from Mac OS had the same type of JS implementation at the backend to ensure cross-browser compatibility. That means an application/web page running on Edge should behave the same on Safari or Chrome. In other words, EcmaScript is just a different way to write out the logic in JavaScript.
We need the following installed on our system to begin React application development:
If you are looking for a tutorial to install VS code and NodeJS. You need to follow the “How to Install Visual Code Studio” and 1st step of “Create NextJS project from Scratch” respectively.
Until now you’ve all executed JavaScript inside your browser. What if I wanted to run the same JavaScript outside my browser? That is where Node comes into play.
If you are looking for a tutorial to install npm on your PC, then you can follow “How to install NPM”.
In order to start developing our very first react-based application we will do the following:
1. Open VS Code in a new folder
2. Open VS Code Terminal – [CTRL + `]
3. Type the following command:
npx create-react-app my-app
It will create a React app with all the built-in React directories.
4. Now type the following command:
cd my-app
then
npm start
It will start your app’s development server on localhost//:3000, you will see this type of interface in your browser, where you can see live changes you do in your app.
If you want to check out a more detailed tutorial on how to create a ReactJS project from scratch then go to “Create a ReactJS project from Scratch”.
That’s it for the ReactJS introduction. if you want to learn React and become a Pro React Developer you can follow the full React tutorial series on “ReactJS”. Happy Coding!