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

Function getSerializedContainerViews

packages/core/src/hydration/utils.ts:470–475  ·  view source on GitHub ↗
(
  hydrationInfo: DehydratedView,
  index: number,
)

Source from the content-addressed store, hash-verified

468}
469
470export function getSerializedContainerViews(
471 hydrationInfo: DehydratedView,
472 index: number,
473): SerializedContainerView[] | null {
474 return hydrationInfo.data[CONTAINERS]?.[index] ?? null;
475}
476
477/**
478 * Computes the size of a serialized container (the number of root nodes)

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…