React.js : more than “V” in the MVC
Posted July 4, 2016on:
Facebook is not the only one to use React:
Instagram is 100% built on React, both public site and internal tools ;
Yahoo`s mail client is made in React;
Netflix – the biggest paid video-streaming service;
Sberbank, bank #1 in Russia, is built with React;
Khan Academy uses React for most new JS development.
React in comparison to Angular.js isn`t a complete framework. However we can`t say that React.js is only “V” in the MVC. After a closer look, you can actually see that React.js is more than just “V”, it has quite some features of the C (controller) part as well. This is why React is so confusing to understand.
Let`s see why React.js stands out from the crowd:
Flux – is highly competitive to MVC. One-way data flow provides maintainability and efficient arrangement of data and DOM elements.
React developers suggested using “virtual DOM” in order to solve performance issue for websites with too dynamic DOM. All changes in a document are made there first, and then React looks for the shortest path to apply them in a real DOM tree. This approach makes the framework fast.
React is fundamentally different than other front-end frameworks in that each asset is made up of many isolated components. Want a button changed across the whole platform? Change it once and voilà it`s changed everywhere.
By making the creation, distribution and consumption of isolated reusable components more straightforward, developers are better able to save time by using and creating common abstractions. This is true of both low level elements like buttons and high level elements such as accordions.
Business Development Manager
Professional Software Development