On December 16, 2016, DevFacto hosted Quality Conf 16.2 – a full-day internal conference dedicated to learning and team building. A number of sessions were presented by our team members which focused on everything from personal to technical growth. In this post, we recap “Introduction to React” which was originally presented by DevFacto consultant Chris Nissen.
React is very popular in the web development community and continues to gain momentum. At DevFacto, it’s important that we continue to develop our competency with React, as a number of our recently created web applications are built using this tool.
There are a number of reasons that we enjoy working with React, including:
Easy to know how a component is rendered by looking at the render function.
One-directional data flow makes code easier to understand.
Interfaces can be easily broken down into small, simple components.
It is also really easy to see the layout, or how components are plugged/combined with each other.
Component markup and display logic travel together
Markup is built in code, resulting in better compile-time checking and more powerful constructs
You can render React on the server-side.
It is easy to test, and you can also integrate some tools like jest.
It ensures readability and makes maintainability easier.
You can use React with any framework (Backbone.js, Angular.js) as it is only a view layer.