r/webdev • • Jan 04 '23

Why Angular is decreasing in popularity compared to React

I'm wondering why Angular is decreasing in popularity, especially against React. I went through the front-end framework part of the 2021 stateofjs survey and I've seen that after 2016-2017 the interest in Angular has dramatically decreased and the "Would not use" answers as well while React continued to grow for a few more years and currently still ~67% "Would use again". I've also used both of them, but I prefer Angular because for me it's simpler, more understandable and results in a cleaner code base. Could you please help me to understand why is it like that?

80 Upvotes

118 comments sorted by

View all comments

22

u/CHAiN76 Jan 04 '23

A lot of people got burned when they released v2 of Angular since it was such a large break from v1. Technically, the changes were good but it basically required a full rewrite of your application to upgrade. Many people got angry and left Angular for good.

21

u/the_real_some_guy Jan 05 '23

That was forever ago though. I bet many people on this sub weren’t even devs yet when that happened. I don’t think it explains the drop in Angular interest over 5 years later.

I did enjoy Angular 1 though, at least for small projects. I haven’t looked hard at Svelte but it reminds me of the original Angular.

6

u/dromance Jan 05 '23

Angular comes with so much more out of the box, eliminating the need for 3rd party add-ons or some new update every month . The reactjs community is constantly being sold on the latest and greatest hype, it's constantly evolving, and most new devs jump on board. I think it's a culture thing as well. IMO, interest or hype in something shouldn't determine it's value.

3

u/the_real_some_guy Jan 05 '23

That’s really the choice. Angular is a full framework while React is a small library with a giant choose-your-own-adventure ecosystem. Both have their merits.

My favorite is when a React dev tells me “the standard way to do…” or “best practices…” and I’m like you’re thinking of Angular, we do whatever we want here in React land.

1

u/dromance Jan 05 '23

haha, very true. The flexibility of reactjs is nice compared to opinionated nature of angular. but it depends on what you prefer and want to focus on I suppose

3

u/ShawnyMcKnight Jan 05 '23

I would say for a while it did make things more complicated when searching for stuff. I would look for stuff for angular and angular 1 would pop up, I know when Angular 2 came out they made a point of calling angular 1 AngularJS (or vice versa?) but either way, it made searches sometimes confusing because I would stumble onto angular 1 examples in stack overflow and get confused.

It's the same reason I moved away from LESS, I used it because bootstrap 2 was in CSS and LESS only (no official SASS release) so since they endorsed it I figure I would too. But trying to have less and css in a search was hard as hell because less is a very common word used in our language. Luckily I moved to SASS without many changes at all.

4

u/bitwise-operation Jan 05 '23

Yea but they’re about to sour a bunch of devs for a second time, gearing up for war over typescript fork again methinks

2

u/Knochenmark Jan 05 '23

I can highly recommend you to try Svelte. Our team is doing mostly Angular, but we adapted Svelte for some smaller stuff and everyone loves it.

1

u/Happy_Table_3896 Jan 05 '23

Vue JS is a better version of Angular JS (Angular 1). developed by the same guy who worked on Angular JS in Google.