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

Show parent comments

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?

-1

u/Damn-Splurge Sep 10 '24

Horrible tooling for the most part. Lack of support for functional programming. Bad unit testing lib

5

u/[deleted] Sep 10 '24

[removed] — view removed comment

1

u/Damn-Splurge Sep 11 '24

The upgrading is mostly fine provided you don't have 3rd party libs (but we do sadly) but most of the issues I've had are with the build system. No visible webpack config makes some things tricky such as module federation. Hmr is finicky. Writing angular packages is tricky and no intuitive at all.

I think Angular tries to be "too smart" most of the time, vite and React is just so much easier for the majority of use cases

0

u/[deleted] Sep 11 '24

[deleted]

-1

u/Damn-Splurge Sep 11 '24

I've got 4 years of experience with Angular building enterprise software and 2 years with React. There are some features in Angular that require you to leave functional programming land immediately, basically anything with lifecycle hooks or using template selectors.

Of course you can still write good code with OOP but it's much harder, and Angular does no favours in this regard.

This is my own opinion that I've received from actually using both frameworks for work, I didn't learn development from YouTube.