refactor: consider reusing temporary vars in generated code #41491
Labels
area: compiler
Issues related to `ngc`, Angular's template compiler
area: core
Issues related to the framework runtime
P4
A relatively minor issue that is not relevant to core functions
refactoring
Issue that involves refactoring or code-cleanup
state: has PR
Milestone
PR #41437 introduced support for
??
operator in Angular expressions. In order to support that in emitted JS code, there are few temporary vars generated (see this discussion). This ticket is to capture that discussion and investigate if it's feasible to reuse temporary vars instead of generating new ones for each expression.The text was updated successfully, but these errors were encountered: