Back to photostream

Why choose React?

There are three popular frontend frameworks/libraries that you can choose from: React, Angular, Vue. The State of JS gives a great overviews of their popularities. Whereas React.js is popular and mature, Vue.js is gaining popularity as well. I will not go into any further in comparisons between the three here, because in the end, people should choose based on different factors and experience the solutions (libraries/frameworks) themselves before making a final decision. My top reasons for choosing React nowadays: It’s JavaScript: It is true that writing React applications makes you a better JavaScript developer (www.robinwieruch.de/javascript-fundamentals-react-require...). You learn how to deal with classes (and inheritance due to extends), the functional programming paradigm with immutability, composability, pure functions and side effects; and language specific methods such as map, reduce and filter. Before I have been doing lots of Angular 1.x and never really experienced JavaScript the way I did when implementing applications with React. React has only a slim API and thus you have to deal with the JavaScript yourself. It only provides a small surface area to make you productive. Ask yourself: When you look 5 years into the future from now, would you want to have invested your time in learning a framework or the underlying language (JavaScript)? I would always choose the latter, because no matter what comes after React, you are prepared for it.

 

fontsforinstagram.org/whereas-react-js-is-popular-and-mat...

162 views
0 faves
0 comments
Uploaded on May 9, 2022