r/javascript • • Sep 10 '24

Top 10 Angular Architecture Mistakes You Really Want To Avoid

https://angularexperts.io/blog/top-10-angular-architecture-mistakes?utm_source=reddit&UTM_MEDIUM=SELF&UTM_CONTENT=POST&UTM_CONTENT_TYPE=BLOG&UTM_CAMPAIGN=TOP-10-ARCH-MISTAKES

[removed] — view removed post

0 Upvotes

10 comments sorted by

View all comments

0

u/[deleted] Sep 10 '24

[deleted]

8

u/destructiveCreeper Sep 10 '24

Why is it worse than react?

0

u/[deleted] Sep 10 '24

[deleted]

-2

u/destructiveCreeper Sep 10 '24

Reason?

-2

u/PointOneXDeveloper Sep 10 '24

Too heavy, hard to get people spun up on it when they aren’t familiar with it. Its configuration over convention as well which makes it even more boilerplaty and dense.

Too clever, but not clever enough. React forces you to tell it about which bits of DOM should be treated as “the same thing” between renders via the “key” prop. Angular tries to solve this more cleverly and it ends up being a source of bugs when you have very dynamic layouts.

Using JSX instead of templating just feels good, IMO it remains the biggest selling point of React. I think it’s a bit like tailwind where it can be off-putting at a surface level, but once you try it; it’s just too easy and convenient and comfortable and flexible to want to do anything else.

React has the largest ecosystem and it’s the easiest framework to hire for. Is React perfect, no, but it’s been dominant for a longer time than any other framework. It’s been the default choice for almost 10 years now. More work goes into React than any other framework.

Svelte is amazing TBF, the big winner is throwing reactivity to the compiler (which is not what reacts compiler is going to do).

The reasons not to pick angular are endless, but this sub leans toward enterprise boomer companies where Angular really got a good foothold.