Is React A Good Pick For 2019?

Is React A Good Pick For 2019?

With the beginning of new year, questions like ‘is the (insert the right technology here) still good in 2019, should I learn (said technology) in 2019’ etc. arise once again. This article will focus on React, since many people are concerned whether Angular and Vue.js are not overshadowing the Facebook framework. Here are some arguments ‘for’ using React.js in 2019.

1. React Github contributors

The number of contributors on Github often is a good factor to consider whether the framework, library or programming language is going strong in the community. React.js still has over 1200 contributors with more than 10 000 commits. It means that this JavaScript library is alive and well and is constantly improved giving the developers a wide variety of actions available for solving certain problems.

2. Library flexibility

Among many advantages of using React.js, flexibility is the one that is frequently mentioned. Due to its component-based architecture, the library is user-friendly and allows a high level of modularity. React’s codebase is lightweight, easy to maintain and parts of migration between versions can be done automatically, thanks to the react-codemod tool developed by people from React core team.

3. SEO integration

Search Engine Optimization is a process used by companies to increase user traffic. By using SSR (Server Side Rendering) you can achieve low TTI (Time to Interactive). After the app is loaded, React uses optimized algorithms to ensure it works as fast as it loads. This means, more users are able to browse the site, which in return, should result in a bigger revenue.

4. React is easy to learn

React community is one of the biggest amongst other frontend frameworks. Because of that, there is plenty of tutorials, materials, and already answered questions on forums like StackOverflow. This, together with React’s improved documentation (much better than in 2017) gives newcomers an easy way to master the library in 2019. On top of that, knowledge of HTML and JavaScript gives the advantage to learn React even faster. Another year of React’s strong presence on the market means there are more experienced developers, best practices are continuing to crystallize and the overall quality of React apps goes up. This gives an advantage to product owners, as well as new developers, who can learn from experts.

5. Virtual DOM

React is known for its virtual DOM (Document Object Model) which allows updating only the parts of the webpage that were changed after user interaction. This has a huge impact on performance improvements, as operations on actual browser DOM are expensive. That way, by making operations first on the Virtual DOM, React is able to omit operations on the DOM elements that remained the same. This is extra important in bigger applications, where we need to squeeze all the performance so the users can have fluid experience even when loads number of data is displayed on the screen.

6. React JSX

React introduced a syntax extension for JavaScript called JSX. It is an HTML-like syntax that is transpiled to regular JavaScript and then builds a Virtual DOM mentioned earlier. Even though the decision to keep "HTML" inside JS has met mixed opinions amongst developers, it seems to be surviving the trial of time and proves itself on many commercial applications.

7. Library maturity

At the moment of writing this article, it is almost 5 years since the official release of React and it is still doing well in the fast-paced world of JavaScript frameworks/libraries. All this time, we have been spectating React going from “yet another JS framework” to being at the forefront of the market. As for the beginning of 2019, there are multiple new features waiting to be incorporated into React. What is more, the past years lead to having many ready to use open source packages for common use cases thanks to the active community gathered around the framework.

Summary

Those are just a couple of reasons behind why you should continue or start using React in 2019, but there is obviously more of them. React JSX, virtual DOM and flexibility alone are the key features that prove that it is an amazing choice and despite the ever-present comparisons to frameworks like Angular or Vue, the React community remains intact.

Related articles