refactor(ivy): update ɵɵtextBinding to not take index (#30792)
- Splits core functionality off into a shared internal function - ɵɵtextBinding will no longer require an index - Alters the compiler to stop generating an index argument for the instruction - Updates tests - Updates some usage of ɵɵtextBinding in i18n to use the helper function instead PR Close #30792
This commit is contained in:
@ -92,7 +92,8 @@ GreetComponent.ngComponentDef = i0.ɵɵdefineComponent({
|
||||
i0.ɵɵelementEnd();
|
||||
}
|
||||
if (rf & RenderFlags.Update) {
|
||||
i0.ɵɵtextBinding(1, i0.ɵɵinterpolation1('Hello ', ctx.name, '!'));
|
||||
i0.ɵɵselect(1);
|
||||
i0.ɵɵtextInterpolate1('Hello ', ctx.name, '!');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user