With the advent of these frameworks, web applications became complicated, which in many cases also caused performance problems. Compared with a desktop application, a web application has less resources (processor & memory usage) at its disposal. Due to the still more limited resources of mobile Internet devices, performance problems are the strongest.
React: the ultimate solution by and for Facebook
Therefore, Facebook developed React and in 2013 it released an open source license. Well-known brands such as Netflix, Yahoo, Airbnb and Khan Academy, but of course Facebook developers themselves, saw the benefits of this new technology almost immediately, making React rapidly increasing popularity.
What makes React so interesting?
Through the following four points, I try to answer these questions based on my experiences.
1. React offers a clear structure, thus offers reusable code.
2. React does not try to do too much.
React is limited to display and interaction only. Many frameworks do much more than this, which makes them considerably more difficult. As React is limited to display and interaction, it also makes it easy to use in an existing application, or even in collaboration with another framework!
3. React addresses some important browser performance issues.
React uses a smart trick, called VirtualDOM, to minimize changes to the page. Especially with complex web applications, the difference is very noticeable.
4. React also runs on the server-side
The main advantage of this is that a page can be retransmitted on the server beforehand. This causes this page to be displayed much faster on the visitor’s screen than a page to be built into the browser. An additional advantage is that the page can be cached on the server, making it even faster.
KreyNation ♥ React!