perf(ivy): attempt rendering initial styling only if present (#32979)

PR Close #32979
This commit is contained in:
Pawel Kozlowski
2019-10-03 15:02:10 +02:00
committed by Alex Rickabaugh
parent e6881b5b42
commit 60047037a3
7 changed files with 44 additions and 15 deletions

View File

@ -152,10 +152,6 @@ export function getOrCreateNodeInjectorForNode(
insertBloom(tView.data, tNode); // foundation for node bloom
insertBloom(hostView, null); // foundation for cumulative bloom
insertBloom(tView.blueprint, null);
ngDevMode && assertEqual(
tNode.flags === 0 || tNode.flags === TNodeFlags.isComponentHost, true,
'expected tNode.flags to not be initialized');
}
const parentLoc = getParentInjectorLocation(tNode, hostView);