Learn with python

Full width home advertisement

Post Page Advertisement [Top]

React JS is a JavaScript library to develop a website. It was launched by Facebook in 2011. This is used in front-end. According to google trends, Now it is a most popular JavaScript library. Few years before, Angular and Vue were used in most companies But, Now the companies are try to move React JS.
 Index
 When we use react?
 Requirements to learn react JS
 Angular Vs React JS
 Installation of React JS

React Js
React JS

When we use React JS?

  • If you are a starter and you want build a project, Then this is correct way to learn and build your projects.
  • This is a perfect way to start when you decide to learn JavaScript.
  • When you are handle a small project.

Requirements to learn

Here is the basic and very normal requirement to learn react JS. If you don't know the below things, Don't worry you can learn those things when you started,
  • Basic HTML
  • Basic CSS
  • Basic JavaScript
Angular Vs React

Angular Vs React

AngularReact
This is a open source
This is also open source
Developed by GoogleDeveloped by Facebook
Front-end framework
JavaScript library
Used in very big projects
Used in Small and medium projects
It will take Two or more months to learn
It will take only few weeks to learn
Not beginner friendly
Beginner friendly

Install react in your windows

Installation of React

If you want to install react, you should have the Node JS in your local machine(PC). If you don't have the Node JS, Follow below steps.
  • Go to official website and download the Node JS msi file: https://nodejs.org/en/download/
  • It will automatic install some properties includes npm.
  • Check the nodeJS and npm is install or not with this comments in windows comment prompt. node -v and npm -v
install and check the version of node JS and npm in windows
  • Now go to comment prompt and type the below code then press enter. It will take some time to install.    npm install -g create-react-app
  • Check the react is installed or not with this code. npm view react version
install react JS and check the react version in windows
Now you can create a react JS app using below code.
         npm create-react-app react_app-name

No comments:

Post a Comment

Bottom Ad [Post Page]