Home >> Tutorials >> What is Reactjs
What is React JS?
  • Reactjs is a JavaScript library for building user interfaces.
  • It is developed and maintained by Facebook.
  • It is written in JavaScript.
  • React is the view part of an MVC application (Model View Controller).

A React js application is developed using react components. React components are the core concept of all React applications.

React js uses virtual DOM concept. The virtual DOM works very fast because it only changes individual DOM elements instead of reloading complete DOM every time.

React js uses - React Component Lifecycle Methods.

Most Commonly Used Lifecycle Methods:
  • render()
  • constructor()
  • componentDidMount()
  • componentDidUpdate()
  • componentWillUnmount()
Advantages of using React Js:

Folllowing are the list of some major advantages of using React Js:

  1. Performance : it is really good performance because React Js uses virtual-DOM
  2. Rendering : it's render server side and client side both as well
  3. Reusability: React Js is all about components. So React js provides developers with the opportunity to have more time to use and create common abstractions, setting up the creation, distribution and consumption of isolated reusable parts.
  4. JSX: JSX makes it easy to read the code of your components
  5. Data Binding: React Js uses one way data binding or uni directional data flow
  6. Testability: it is easy to test, and integrate some tools like jest.
  7. Maintainability: it ensures readability and makes maintainability easier.
  8. Better Combination Technologies: React makes best use of HTML and JavaScript mixing them ideally and also incorporates CSS to provide your business with the best.
  9. Integrate With Others Framework: it’s easy to integrate with other frameworks like Backbone.js, Meteor, Angular, etc.