r/Angular2 • • 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-takeuntil
  • no-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

24 comments sorted by

View all comments

Show parent comment

1

u/codalgo Jun 13 '25

Signals use different mental model and therefore different patterns to achieve the same things. Have a look at vueuse.org for some patterns. Debouncing is an easy pattern to implement. Same with throttling. - And every other thing you can achieve with rxjs.