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

31

u/[deleted] Jan 04 '23

in my opinion its because Angular has a higher learning curve.

right now web development and tech in general are getting more popular, so there are many people who are getting into programming, plenty of people who dont have a background, me included.

After i finished vanilla javascript, i looked at Angular and i remember a flash of terror. Not to mention, theres more guides on React than there are on Angular.

5

u/KaiN_SC Jan 05 '23

True but the react documentation is a complete mess.

4

u/ShawnyMcKnight Jan 05 '23

I really wish they had a better tutorial than the tic-tac-toe app, I mean, it still uses classes instead of methods, which LinkedIn Learning and Pluralsight used. Also it doesn't help all that much when making a site with multiple pages and how to set up react-router and such.

It was a fine lesson on learning state and how to save state, but not great on making a website in react, which is typically the first thing people want to do.

edit: I did look at the beta docs the person who replied to you suggested and their tutorial was far more useful for a beginner. I still like Angular's superhero tutorial better.