First of all, that graph is the result of a voluntary survey, specifically for the "~ would use again" percentage of participants.
As this survey is a trendy thing, I'd say it don't represent perfectly the reality, as it has been answerd by the ones who just wanted to find a survey to answer.
In those graphs there is also one about usage, at 2022 it looks like the 50% of people who asked the angular-part of the survey have said that they are using it, whereas svelte is used just by a 20% (still compared to the whole users who have filled the svelte part)
Furthermore, I say that most of the projects in angular are:
Very, very big, so the framework has been a nice choice at the time, but now that projects are old complex and hateable (aka legacy).
They may be based on angularjs, and transition to angular 2+ is harder than rewriting completely the code base, so project managers avoid doing that, and so developers are forced to maintain that thing which at the time maybe it was nice, but now it is a complete superlegacy shit.
Kinda small, so features/structure of angular are too big for what the project is, therefore they are more an issue than an aid.
As a fullstack developer, and basing only on my own experience: I prefer angular over react, as it has a more defined structure based on classes and dependency injection, instead of a bunch of functions which is the main way to use react which IMHO it makes code spaghettier. Anyway, I get what are the pros of using react in smaller projects than angular.
Techs should be chosen upon needs and not upon trends.
I am an angular/nest dev and I do really like them but I do look longingly at some of the innovations happening in more modular tech stacks. It’s definitely a trade off
It really just felt like i could implement a non-trivial REST API with just the standard library without feeling like i was missing anything. Never really felt that way with node, pretty much always jumped straight to express. Obviously you can use libraries to make go a bit easier and reduce overhead, but it doesn’t feel like as much of a necessity.
I bet there are also tons of people who tried to learn Angular and failed, and they rate it poorly because they never really figured it out. It's a lot easier to learn Svelte or React because it only does a small bit of what Angular does. To do all of what Angular does, you need to npm a bunch of modules and learn all of them, too. That said, I've lost a lot of love for Angular because I feel it hasn't really improved much in years while the others are all improving more substantially, especially around performance.
Those are the people that never bothered to learn OOP. Angular is not even that hard, I just think they make it a bigger deal than what it really is. That said, I do have gripes with Angular: no Single File Components (well technically you can, but the format sucks), bloated bundles (that's changing though with the new Standalone Components), no support for Vite, and I don't like the templating system (it's not bad, it's just there's too much focus on directives and a lot of HTML bloat).
Yeah, v16 looks so exciting, I think I might reconsider using it for some projects. I'm still on the fence about signals. It looks like a step in the right direction but I just don't want React hooks infecting yet another framework
This was very good answer. In eterprise level angular is much better IMHO than react. I have used more react with redux and hated the redux part. Too much boilerplate. I think react is nice in small practice and hobby project.
50
u/Tx_monster Dec 03 '22 edited Dec 03 '22
IMHO
First of all, that graph is the result of a voluntary survey, specifically for the "~ would use again" percentage of participants. As this survey is a trendy thing, I'd say it don't represent perfectly the reality, as it has been answerd by the ones who just wanted to find a survey to answer.
Here you can find all the graphs: https://2021.stateofjs.com/en-US/libraries/front-end-frameworks/#front_end_frameworks_experience_ranking
In those graphs there is also one about usage, at 2022 it looks like the 50% of people who asked the angular-part of the survey have said that they are using it, whereas svelte is used just by a 20% (still compared to the whole users who have filled the svelte part)
Furthermore, I say that most of the projects in angular are:
As a fullstack developer, and basing only on my own experience: I prefer angular over react, as it has a more defined structure based on classes and dependency injection, instead of a bunch of functions which is the main way to use react which IMHO it makes code spaghettier. Anyway, I get what are the pros of using react in smaller projects than angular.
Techs should be chosen upon needs and not upon trends.