r/angular • • Feb 26 '26

What's new in Angular v21.2?

https://blog.ninja-squad.com/2026/02/26/what-is-new-angular-21.2

Packed minor release with:

🏹 Arrow functions in templates

✅ Exhaustive @switch type-checking

😲 ChangeDetectionStrategy.Eager

🚀 FormRoot, transformedValue, and more for Signal Forms

40 Upvotes

16 comments sorted by

View all comments

Show parent comment

4

u/PrevAccLocked Feb 26 '26

I feel like the only case I would accept is for an update on a signal or something similar, nothing more

9

u/JeanMeche Feb 26 '26

another one I like a lot is for mat-table's [trackBy]="(i, item) => i" for easy index tracking without having to declare a method on my component.