mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7feda88abb
This commit adds support for local refs in signal property bindings, by generating variables in the creation block. To implement this support: * a new instruction shallowReference() is introduced, which is not tied to the current view context. * variables are now generated for creation mode as well as update mode * a new template pipeline pass (`phaseCreationVarColocation`) handles ordering of reference variable declaration and assignment in the creation block (guaranteeing references are only read after declarations).