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

Function assertSsrIdDefined

packages/core/src/hydration/utils.ts:437–442  ·  view source on GitHub ↗
(ssrUniqueId: unknown)

Source from the content-addressed store, hash-verified

435
436/** Throws an error if the ssrUniqueId on the LDeferBlockDetails is not present */
437export function assertSsrIdDefined(ssrUniqueId: unknown) {
438 assertDefined(
439 ssrUniqueId,
440 'Internal error: expecting an SSR id for a defer block that should be hydrated, but the id is not present',
441 );
442}
443
444/**
445 * Returns the size of an <ng-container>, using either the information

Callers 3

ɵɵdeferHydrateWhenFunction · 0.90
scheduleDelayedHydratingFunction · 0.90

Calls 1

assertDefinedFunction · 0.90

Tested by

no test coverage detected