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

Function getSegmentHead

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

Source from the content-addressed store, hash-verified

403}
404
405export function getSegmentHead(hydrationInfo: DehydratedView, index: number): RNode | null {
406 return hydrationInfo.segmentHeads?.[index] ?? null;
407}
408
409export function isIncrementalHydrationEnabled(injector: Injector): boolean {
410 return injector.get(IS_INCREMENTAL_HYDRATION_ENABLED, false, {

Callers 2

locateNextRNodeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected