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

Function isInternalHydrationTransferStateKey

packages/core/src/hydration/utils.ts:75–77  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

73 * Checks whether a given key is used by the framework for transferring hydration data.
74 */
75export function isInternalHydrationTransferStateKey(key: string): boolean {
76 return key === TRANSFER_STATE_TOKEN_ID || key === TRANSFER_STATE_DEFER_BLOCKS_INFO;
77}
78
79/**
80 * The name of the attribute that would be added to host component

Callers 1

getTransferStateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected