refactor(ivy): simplify bind instruction to reuse bindingUpdated logic (#23881)
Added runtime and compiler testcases for interpolated bindings, which verify that NO_CHANGE is properly handled in `bind`. PR Close #23881
This commit is contained in:
@ -58,9 +58,9 @@ export class TemplateFixture extends BaseFixture {
|
||||
/**
|
||||
*
|
||||
* @param createBlock Instructions which go into the creation block:
|
||||
* `if (creationMode) { __here__ }`.
|
||||
* @param updateBlock Optional instructions which go after the creation block:
|
||||
* `if (creationMode) { ... } __here__`.
|
||||
* `if (rf & RenderFlags.Create) { __here__ }`.
|
||||
* @param updateBlock Optional instructions which go into the update block:
|
||||
* `if (rf & RenderFlags.Update) { __here__ }`.
|
||||
*/
|
||||
constructor(
|
||||
private createBlock: () => void, private updateBlock: () => void = noop,
|
||||
|
Reference in New Issue
Block a user