What is React?
Today many top-tier companies use ReactJS to develop their applications, and among them we can find Facebook, Instagram and the WhastApp web client (all owned by Facebook), and others such as AirBnb, Uber, Netflix, Twitter , Reddit or Paypal.
Since its launch, its use has increased notably, becoming, today, one of the most used front-end technologies.
This can be an advantage or a disadvantage depending on the person using it. Angular, for example, is a framework that provides us with complete tools to develop a 100% web application, although, however, it does not offer as much freedom as React when choosing which technologies we want to work with. That is, Angular is an “opinionated” framework while React is a library that fills a need.
The most important element of ReactJS is the component, which is essentially a piece of the user interface. As a general rule, when designing an application with ReactJS, what we are doing is creating independent and reusable components to, little by little, create more complex user interfaces.
In that sense, ReactJS is similar to Angular, in that every ReactJS app has at least one component; which we normally refer to as the “root” component, which contains other “child” components, and these in turn others, etc. In this way, it can be stated that the view is a tree of components.