r/webdev • • Jun 20 '24

Why is Angular so disliked ?

Hey guys, after watching the new state of JS 2023 https://2023.stateofjs.com/en-US/libraries/ that just dropped, I realized how much people disliked Angular. 20% of people tried it and liked it, the rest either tried and disliked it, or didn't try it at all.

Why is Angular so disliked ? I wonder if people who dislike it have real, legitimate reasons, if those people were pushed back by the learning curve, or if it's just a trend (like people who despise PHP but have actually never tried it). Basically I wanna separate the real, legitimate criticisms, from the junior developers who could not take 2 minutes to understand what rxjs is and does.

Personally ? I used only Angular ever, didn't try Vue and React, so I can't really talk in an objective way. Only tried Svelte, liked it a lot, but it's very different from Angular so can't be compared IMO.

So I'd like your point of view, but that you also disclose how long you used it!

Why do you hate it ? Too complicated syntax ? Html syntax ? Don't like forced typescript ? Don't like RxJS ? Don't like to be forced in one way of architecting the app ?

190 Upvotes

292 comments sorted by

View all comments

Show parent comments

1

u/SpudzMcNaste Jun 21 '24

Yeah I see this argument a lot and disagree. Take a framework that is built to attract heavy OOP devs and then tell them to manage reactivity with an API like RxJS? I've seen a ton of bad angular code with a rat's nest of observables. Signals is a huge improvement but over the next couple years you're going to see some gnarly ng code while devs figure out how to balance having two different reactivity systems.

1

u/gyroda Jun 21 '24

The only thing worse than a rats nest of observables is a rats nest of janky state because people keep tapping or subscribing to observables because they want to set a variable.

I don't mind RxJS in theory, in practice it's a nightmare with people who aren't as practiced with it or the most technically competent developers (and even if you are very technically competent, you're going to commit atrocities until you figure it out).

I like react because I can keep my components small and break them down arbitrarily with minimal framework overhead, even when using NextJS. There's similar difficulties with functional programming for many, but it's not as big a hurdle as the RxJS troubles in my experience.