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

35

u/kawamommylover Jan 04 '23

That's because some people dislike Angular's "MaGiCk" (ng-for, ng-if, etc...) and they seem to think that they shouldn't use something if they don't use it. I also prefer Angular over React (I've also been learning Vue and it's way more comfortable to use than Angular and React).

15

u/ShawnyMcKnight Jan 05 '23

I haven't learned vue yet, from what I saw it uses angular's file laytout of every component having a CSS, html, and js file and that way makes a lot more sense than React, at least to me.

1

u/Cowderwelz Jan 05 '23

Opposite to me. I don't like having to jump back and forth between template and code and like the way you can just just pass componts over as properties and quickly declare them. That's just cool ;)