MCPcopy Create free account
hub / github.com/angular/angular / getSerializedContainerViews

Function getSerializedContainerViews

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

Source from the content-addressed store, hash-verified

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

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected