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

Function countBlocksSkippedByHydration

packages/core/src/hydration/utils.ts:355–361  ·  view source on GitHub ↗
(injector: Injector)

Source from the content-addressed store, hash-verified

353}
354
355export function countBlocksSkippedByHydration(injector: Injector) {
356 const transferState = injector.get(TransferState);
357 const nghDeferData = transferState.get(NGH_DEFER_BLOCKS_KEY, {});
358 if (ngDevMode) {
359 ngDevMode.deferBlocksWithIncrementalHydration = Object.keys(nghDeferData).length;
360 }
361}
362
363export function markRNodeAsHavingHydrationMismatch(
364 node: RNode,

Callers 1

withDomHydrationFunction · 0.90

Calls 2

getMethod · 0.65
keysMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…