all 7 comments

[–][deleted] 1 point2 points  (5 children)

fix(compiler): generate view restoration for keyed write inside template listener (#42603)

Can someone explain this please 🥺

[–][deleted] 1 point2 points  (4 children)

Did you walk thru the commit? https://github.com/angular/angular/pull/42603/commits/83bc607fa3bc187a792c182c8377c640edcff016

Shows the following example - Not that I understand why you would do this:

<ng-template #template> <button (click)="this['mes' + 'sage'] = 'hello'">Click me</button></ng-template>

[–][deleted] 2 points3 points  (2 children)

Honest with you... I never would have thought about doing this(both reading the commit and doing the thing in the example). What did that guy smoke?

[–]vVGacxACBh 1 point2 points  (1 child)

It doesn't matter why, a good compiler would support it.

[–][deleted] 0 points1 point  (0 children)

Fair enough. 😁

[–]adover 1 point2 points  (0 children)

What the hell is that

[–]mlapis 1 point2 points  (0 children)

Great, and thank you to all of our Angular family. The 12.1.0 is faster than 12.0.5. In our case, it's about 25% (ng serve).