What is ReactJS? Why we should use ReactJS?

What is ReactJS?

ReactJS is a JavaScript library for building the front-end (user interfaces) of an application. ReactJS library is an open-source view layer that uses virtual DOM for good performance.

It is developed and maintained by Facebook. React allows us to create reusable components, state manipulation, and fast rendering.

Why use ReactJS?

Following are some reasons of using ReactJS:

Easy to learn and simple to use
High performance rendering on the front-end
One way data binding
After all, it is JavaScript
Good testing strategies
Strong community and small learning curve

What are the strength of ReactJS?

ReactJS is powerful based on some key concepts of ideas. Those are:

  • React has a powerful composition model and it recommends using composition over inheritance
  • The data flow is unidirectional
  • True freedom from DSLs
  • Explicit mutation
  • Static mental model
Reference: