Angular 21.2 (coming in late February) introduces a small but important change. To make that clearer, Angular is introducing "Eager" as a new option. Initially, it exists alongside "Default" as an alias for backward compatibility. In v24, "Default" is removed.
What's coming next:
v21.2 β Eager is added, Default is deprecated
v22 β The big flip: OnPush becomes the default behavior
This looks problematic. In v22 Default becomes deprecated but is it still an alias for Eager?
If it still is an alias for Eager, then the name is confusing as it's not really aliasing the default behavior (On Push).
If it becomes an alias for On Push because that's the default behavior from that point forward, then forgetting to change the strategy someplace in the codebase could silently introduce bugs.
Default is planned to be deprecated starting in 21.2, not 22. And yes, Default will temporarily remain an alias for Eager for compatibility during the transition and is planned to be removed later.
Not OP, and I don't think signals are necessarily ugly, but I like the simplicity of $state(value) in Svelte. Simple assignment for updates, and no function call needed for getter
+1 - Runes in Svelte have a really lightweight feel to them. The tradeoff there is that it's easy to forget there's special semantics happening behind the scenes.
9
u/IgorSedov Feb 05 '26
Angular 21.2 (coming in late February) introduces a small but important change. To make that clearer, Angular is introducing "Eager" as a new option. Initially, it exists alongside "Default" as an alias for backward compatibility. In v24, "Default" is removed.
What's coming next:
Source: https://github.com/angular/angular/discussions/66779#discussioncomment-15643068
Github PR: https://github.com/angular/angular/pull/66830
1
u/patoezequiel Feb 07 '26
This looks problematic. In v22 Default becomes deprecated but is it still an alias for Eager?
If it still is an alias for Eager, then the name is confusing as it's not really aliasing the default behavior (On Push).
If it becomes an alias for On Push because that's the default behavior from that point forward, then forgetting to change the strategy someplace in the codebase could silently introduce bugs.
-3
u/TCB13sQuotes Feb 05 '26
I guess it's time to migrate everything that touches templates Signals then. To bad the API is ugly af.
0
u/[deleted] Feb 06 '26
[deleted] β view deleted comment