React - worth to learn or not?

For a longer time, I have been programming many websites with React.js. At the beginning of learning this framework, I was not sure if that was something I thoroughly needed. However, today, after getting experience in this technology, I don't regret this choice - here's why.

React logo
React logo

At first, for those of you who don't know what the React.js is, let me tell you something about its story. Let's get back in time to 2013, when due to Facebook's rise, its programmers started creating many different augments and frameworks. One of these projects was the XHP, a PHP language's augmentation made for working with XML files. This extension of PHP and its facebook's dialect called Hack inspired Jordan Walke to create a language that will improve the condition of the Facebook Ads department which he was working for. That's how the story of React.js began in a nutshell.

Now you know what React.js is - a javascript frontend framework. And, in my opinon, a really programmer-friendly one - I have been learning and building projects with React for 2 years and I can that it's kinda easy to learn and not that hard to master. With this framework, I created many websites, like sgk-news.pl, my polish language course or this website you are reading right now 😉

But let's stop for a moment and think - why the hell another framework was made? We have pure javascript and its libraries, hence we may not need this React.js and all of that fluffy stuff. Well, at least to my mind, that's not the truth - in fact, React is not that bad. What makes him that work-boosting framework is the virtual DOM, which stands for the Document Object Model. Another feature that makes React worth to know is a large society of programmers that use this framework and the content they create for other ones of them - the packages that you can download from the NPM web. At any moment, in any place - the only limit is your imagination (or your project's limits 😅).

Somebody could say now "Okay, that's gorgeous what you're saying about React.js, but am I able to use it in any other destination?" The answer is: yes, you can! One of the top examples of which other languages you can use React.js with is C#, especially the .NET core. With this language (technically a C# framework) you can build your website backend with the C#, and use React.js for your app's frontend. If you don't know anything about programming in C# and you still want to become a full-stack web developer, nothing lost - the other alternative to this option is Laravel, a PHP language framework. And, for me the most thunderous feature about the React, you can also build mobile apps with its augmentation, React native which is quite easy to learn if you know React.js.

.NET Core logo
.NET Core logo

Brief, it's still worth to learn React although there are some alternatives for it, like Vue.js or Angular.js. However, from my personal point of view I recommend you to start with React first. If this framework doesn't suit you, don't worry - try to get used to its rules, concepts and all of that stuff or just find something other to learn, like Vue or Angular. Nevertheless, it will benefit you if you learn React.js and I'm sure you're not gonna be dissapointed 😉.