Pin It

React (also called React.js or ReactJS) is an open source JavaScript library for creating user interfaces with the aim of facilitating the development of applications on a single page. Maintained by Facebook and the free software community, more than a thousand different developers have participated in the project.
React helps developers create applications that use data that is constantly changing. Its creators wanted to provide a library that would be simple, declarative and easy to combine.
React only handles the user interface in one application and the view in a context where the MVC (Model-View-Controller) or MVVM (Model-view-model view) pattern is used. However, it can also be used with reactive extensions that handle parts that are not part of the user interface of a web application.
It is important to note that ReactJS is a library focused on visualization. If we start a project, we can develop it on the Flux architecture. Whereas, if we already have a project using a MVC Framework like AngularJS we can leave AngularJS as a Controller and ReactJS will take care of the views.

Performance thanks to the Virtual DOM
The operations performed by React when applications are executed are much faster because they are performed before on the Virtual DOM, which loaded in memory, allows updates of up to 60 frames per second, resulting in a feeling of impressive fluidity.

Use a store
The libraries or data flow patterns that allow storing all the states in an object with their own methods to modify them. The object transfers its values to React through the properties. In simple words for those who manage the MVC, this tool acts as a controller for React (which represents the View).
Some we can mention are Redux, Mobx, Baobab, Flux and Reflux.

Advantages of using React:
• It's easy to know how a component is represented by just looking at the rendering function.
• JSX makes it easy to read the code of your components. It is also quite easy to see the layout or how the components are plugged in and combined with each other.
• You can render React on the server side.
• It's easy to try and integrate some tools on it.
• It ensures readability and facilitates maintenance.
• You can also use React with any frame (Backbone.js, Angular.js) since it is only a view layer.

What's not so good about React?
• It's just a view layer, you still need to connect your code for Ajax requests, events, etc.
• The library itself is quite large.
• The learning curve is an aspect to consider.

reactjs 02

If you wish to receive a detailed offer or consultation on Information Technology provided by Wagner Consulting, contact our Sales Team, who will gladly assist you.

IT Division at Wagner Consulting
US: (718) 838 9533 (English speaking)
US: (917) 725 3145 (Spanish speaking)
EU: (718) 618 4268
E-Mail: This email address is being protected from spambots. You need JavaScript enabled to view it.