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

Function patchHydrationInfo

packages/core/src/hydration/utils.ts:317–319  ·  view source on GitHub ↗
(node: RNode, info: HydrationInfo)

Source from the content-addressed store, hash-verified

315} & Element;
316
317function patchHydrationInfo(node: RNode, info: HydrationInfo) {
318 (node as HydratedNode)[HYDRATION_INFO_KEY] = info;
319}
320
321export function readHydrationInfo(node: RNode): HydrationInfo | null {
322 return (node as HydratedNode)[HYDRATION_INFO_KEY] ?? null;

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…