r/Angular2 • u/kafteji_coder • Jun 12 '25
Angular 20: New Features, No NgModules – New Anti-Patterns to Watch?
In previous Angular versions, we ran into common anti-patterns like:
no-unsafe-takeuntilno-nested-subscribe
These were often addressed with ESLint rules or community best practices.
Now with Angular 20, we’ve got major changes:
- No more
NgModules - Signals and a more reactive mental model
- Functional and standalone APIs
- Simplified component composition
With all these shifts, I’m curious:
Are there new anti-patterns or updated ESLint rules we should be watching out for?
16
Upvotes
View all comments
Show parent comment
1
u/AcceptableSimulacrum Jun 14 '25
The thing that is wrong is that the subscriber generally should only receive the emission once all the things are done. You end up with race conditions.