B
B
bormor2018-08-04 10:19:18
Angular
bormor, 2018-08-04 10:19:18

Angular 4+. Can we say that maintaining projects with it is on average easier than React?

Previously worked with React/Redux. Now the guide provides an opportunity to master and choose a framework for the next. project.
I understand the question is very subjective, but I have no serious experience with Angular and yours is very important.
Angular 4+ seems harder to learn but easier to maintain.

The reasons why I have this opinion:
React projects are built as a constructor and each builds it in a very different way.
For example, you know Redux, but on the project it is used through Ramda - and the code at first glance will seem like hieroglyphs.
Redux could be MobX or Cerebral instead. They are good each for their task - but again, this is a time for mastering, which may not be in the park.
Angular is still a framework - which means that incoming projects should use generally accepted tools.
Angular uses TypeScript
Which, in theory, should make it easier to refactor, fix bugs, add features.
React has a flow for this, but it has a higher learning curve and is not required, which means there is less chance of getting a project with it. For Angular - TS is almost a standard.
"Angular 4-5-6 API doesn't change drastically"
React 16.3 has big updates that could drastically change the way an application is built. Google seems to have learned the lessons of the transition from AngularJS and no longer changes the API radically. By reviews.
Of the disadvantages of Angular:
RxJS (the first thing that attracts attention). Many intelligent people speak of it as a very brain-crushing feature that is very difficult to master right off the bat, but without which it is impossible to work with the framework.
But I repeat, I have no serious experience with Angular. The specifics from your experience are very valuable.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Spirin, 2018-08-04
@rockon404

1. Using Angular in production for your team is a big risk. It's not a fact that you write something supported right off the bat.
2. As for the ease of support, it only seems to you. If you're having trouble maintaining React projects or migrating 15 --> 16, it's only your team's lack of skill that is to blame. The React/Readux stack is highly scalable and well maintained.
3. TypeScript has been actively and successfully used with React for a long time.
4. RxJS is a completely different way of thinking, not the fact that your team will immediately start writing something normal.
5. If the project is large and serious, then you should not start it without a Senior Angular Developer in the team, your employer can lose a lot of money on your experiments. Even if you write something good according to manuals, articles, you will do it much more slowly.
6. Want to learn Angular and learn how to write good and maintainable applications in it? There is an effective way: learn the basics and go to work in a strong experienced team.
Angular is the choice of Enterprise. The framework is good to use in large companies, where it is often used. I do not recommend running in a commercial project with an inexperienced team. I quickly got used to it myself because before that I wrote mobile applications in Java (DI, Rx, static typing, services, there are many similarities and nothing fundamentally new).
On the other hand, if your management is willing to pay for your training and even give you extra time, then you can take advantage of this opportunity. I have always used these opportunities.

A
Anton Shvets, 2018-08-04
@Xuxicheta

1. Projects can be anything. With Angular, you can also use MobX, Redux, Ngrx, etc., although they are not required, they often get by with the tools of the framework itself.
2. Angular2+ without TS is a rare exotic. The advantage here is that the level of developers will be a little higher, and the minus is that there will be a little less projects. More complex and long-term projects. And small and fast ones are starting to move towards Vue
3. Yes, there are no radical changes. Breaking changes happen, but they can be quickly corrected.
4. You can work with Angular knowing only the basics of Rxjs. And expand knowledge as needed. This is a tool that can be used almost immediately, and further used better and wider as you master it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question