MCPcopy Index your code
hub / github.com/angular/angular / removeDehydratedViewList

Function removeDehydratedViewList

packages/core/src/hydration/cleanup.ts:56–66  ·  view source on GitHub ↗
(deferBlock: DehydratedDeferBlock)

Source from the content-addressed store, hash-verified

54}
55
56export function removeDehydratedViewList(deferBlock: DehydratedDeferBlock) {
57 const {lContainer} = deferBlock;
58 const dehydratedViews = lContainer[DEHYDRATED_VIEWS];
59 if (dehydratedViews === null) return;
60 const parentLView = lContainer[PARENT];
61 const renderer = parentLView[RENDERER];
62 for (const view of dehydratedViews) {
63 removeDehydratedView(view, renderer);
64 ngDevMode && ngDevMode.dehydratedViewsRemoved++;
65 }
66}
67
68/**
69 * Helper function to remove all nodes from a dehydrated view.

Callers 1

Calls 1

removeDehydratedViewFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…