refactor(core): viewDef related refactoring (#19272)
- optimize the way node flags are propagated in `viewDef()`, - fix `elementDef()` signature to make `namespaceAndName` nullable, - move render parent computation with the parent computation PR Close #19272
This commit is contained in:

committed by
Igor Minar

parent
f2bad195bc
commit
abceaa2f33
@ -55,7 +55,7 @@ export function anchorDef(
|
||||
|
||||
export function elementDef(
|
||||
flags: NodeFlags, matchedQueriesDsl: [string | number, QueryValueType][],
|
||||
ngContentIndex: number, childCount: number, namespaceAndName: string,
|
||||
ngContentIndex: number, childCount: number, namespaceAndName: string | null,
|
||||
fixedAttrs: [string, string][] = [],
|
||||
bindings?: [BindingFlags, string, string | SecurityContext][], outputs?: ([string, string])[],
|
||||
handleEvent?: ElementHandleEventFn, componentView?: ViewDefinitionFactory,
|
||||
|
Reference in New Issue
Block a user