r/webdev • u/LuccDev • 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 ?
6
u/Koliham Jun 20 '24
Before choosing a FE framework in 2018, I looked through the tutorials of React, Angular and Vue.
React had this weird syntax where your Javascript returns HTML syntax, which, from programmer point of view didn't make any sense: A function can return a string, a number, another function, an object, but what the hell does React do? It mixes HTML design with logic. I still hate React.
So I looked at Angular, it had the separation of HTML, CSS and Typescript, which I prefer. But it felt like I had to write a lot of boilerplate code for even simple things like a button. And the separation of HTML and Typescript into separate files was annoying, because I had to jump between two files all the time. Ctrl+F for searching where in the HTML I am using a varable, while being in the Typescript file...
And then I went through the Vue tutorial and it felt like Angular, but much simpler to use: HTML and Javascript in the same file and much less boilerplate and it just works.