mirror of
https://github.com/angular/angular.git
synced 2026-11-28 17:37:50 -05:00
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).
Angular
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
Usage information and reference details can be found in Angular documentation.
License: MIT