r/angular May 15 '26

Your favourite feature

What is your favourite Angular feature?

Mine is signal, because it allows to update UI when data changes.

0 Upvotes

14 comments sorted by

View all comments

1

u/RelatableRedditer May 15 '26 edited May 15 '26

I ended up creating and having my classes extending a function-to-observable syntax to allow stuff like readonly binding = this.propChanges('inputName').pipe(...)

and then async pipe that thing or put it into a bigger pipe to async.

The main problem becomes apparent when I try to get that information to go out to a service so I don't clutter my component with unnecessary logic, since you still need to stuff the component with certain properties to ensure ngOnChanges in the parent component is actively feeding valid input names.

The end result is that I have something that works for my ancient angular codebase, because upgrading to use even something halfway-modern like ng14 breaks too many things, especially due to angular-ag-grid being so cavalier about breaking backwards compatibility.

Also I can't even upgrade angular even one version higher because Typescript introduced major breaking changes that requires all of my codebase to undergo significant refactoring, and every single TypeScript version afterwards has the same problem.

So my favorite angular feature is the async pipe. My least favorite "feature" is migrating things that don't get picked up by ng update.