perf(change detection): Assign this.locals in change detector ctor
Set `this.locals = null;` in the ctor of generated change detector classes to prevent the class "shape" from changing on `hydrate`.
This commit is contained in:
parent
894a0f0ee5
commit
a6736ff9f2
|
@ -64,6 +64,7 @@ ${DISPATCHER_ACCESSOR} = dispatcher;
|
|||
${PIPE_REGISTRY_ACCESSOR} = pipeRegistry;
|
||||
${PROTOS_ACCESSOR} = protos;
|
||||
${MEMENTOS_ACCESSOR} = directiveMementos;
|
||||
${LOCALS_ACCESSOR} = null;
|
||||
${fieldsDefinitions}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue