diff --git a/packages/core/src/render3/instructions/shared.ts b/packages/core/src/render3/instructions/shared.ts index 71c3270233..cae83517f6 100644 --- a/packages/core/src/render3/instructions/shared.ts +++ b/packages/core/src/render3/instructions/shared.ts @@ -83,7 +83,9 @@ export function refreshDescendantViews(lView: LView) { refreshDynamicEmbeddedViews(lView); // Content query results must be refreshed before content hooks are called. - refreshContentQueries(tView, lView); + if (tView.contentQueries !== null) { + refreshContentQueries(tView, lView); + } resetPreOrderHookFlags(lView); executeHooks(