R
R
Robu2017-07-27 18:16:15
JavaScript
Robu, 2017-07-27 18:16:15

Learning React or Angular?

Hello.
Briefly about myself: I've been freelancing for about half a year, I read Flanagan's book and learn.js, I have an understanding of OOP, I'm familiar with ES6. In addition, I know a little jQuery, SASS, Webpack. I
plan to learn React / Angular (too few offers for vue.js) in order to go to work in a company.
I thought about learning React, but I heard more than once that Angular allows you to do more in huge projects.
I ask you for advice in choosing the studied technology.
Ideally, I plan to get a job in a month, there is a lot of free time.
Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
denismaster, 2017-07-28
@denismaster

Angular 1 aka AngularJS is a legacy version not compatible with other
Angular (aka Angular 2, its newer Angular 4 and the expected Angular 5 and 6) is the modern version, essentially a big framework. Focused on Enterprise-applications, but can be used in other types of projects. Of the benefits - strict typing (Typescript), a lot of all sorts of convenient tools for solving problems are available right out of the box. Of the minuses, the bundle size is quite large, but there are techniques for making it very small, as well as not the best StackTrace when debugging. Actively developed and quite popular.
React is not a framework, but essentially just a library for working with ui. Therefore, when working with it, other libraries are often used, Redux, Flux, Mobx, Redux-Saga and others. Of the benefits - high rendering speed, popularity. Of the minuses - the need to support a zoo of libraries for the application, much is not available and you will have to search the net for the right package. Another of the minuses (but this is a very subjective minus) is JSX, and HTML scribbling inside js, which reminds of a not the best past with php.
Vuejs is more lightweight than react with its menagerie or huge angular, smallest and very fast.
It also supports the component approach. Templates are more like Angular than React. Not yet as popular as the other 2, but that's about to change.
All 3 are designed to solve the same problem, and the choice between them is often subjective. Each of the libraries is good in some ways, but not in others.

V
Vasily Nazarov, 2017-07-28
@vnaz

heard that Angular allows you to do more in huge projects

They say that chickens are milked in Moscow.
First, the head allows more to be done, not the "Angular-Angular-Angular" mantras.
Secondly, you are up to "huge projects" like China in an uncomfortable position.
Thirdly, there are two Angularovs, and the second one (aka the 4th one) is almost not needed by anyone, and the 1st one was recognized as unsuccessful even by its developers themselves.
Fourthly, if the employer / customer does not want Vue, which is definitely better than both React and Angular today, is it worth going to such an employer?
More reasoned here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question