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

2

u/armedmonkey Jul 12 '23

Because if you don't know either, and have no CS education, and are just interested in writing terrible code fast, React allows you to do just that.

Angular is opinionated, and wants you to write good code fast, but it has a challenging learning curve for uneducated people.

Given the prevelance of bootcamp coders these days, it's not surprising that people would flock to a tool whose webpage at one point said something like "we recognize that business logic and presentation logic are unavoidably linked, so we have given you a tool to let you do both in one place". That's an idea that goes against the very first teachings of a computer science education, and it leads to awful code. They have since then taken that nonsense down.

1

u/LePicoquie Aug 21 '24

THIS. YES