perf(ivy): split view processing into render (create) and refresh (update) pass (#32020)
PR Close #32020
This commit is contained in:

committed by
Kara Erickson

parent
4d96cf5197
commit
b9dfe66028
@ -135,6 +135,7 @@ export function load<T>(view: LView | TData, index: number): T {
|
||||
|
||||
export function getComponentViewByIndex(nodeIndex: number, hostView: LView): LView {
|
||||
// Could be an LView or an LContainer. If LContainer, unwrap to find LView.
|
||||
ngDevMode && assertDataInRange(hostView, nodeIndex);
|
||||
const slotValue = hostView[nodeIndex];
|
||||
const lView = isLView(slotValue) ? slotValue : slotValue[HOST];
|
||||
return lView;
|
||||
|
Reference in New Issue
Block a user