MCPcopy
hub / github.com/angular/angular / retrieveHydrationInfo

Function retrieveHydrationInfo

packages/core/src/hydration/utils.ts:217–223  ·  view source on GitHub ↗
(
  rNode: RElement,
  injector: Injector,
  isRootView = false,
)

Source from the content-addressed store, hash-verified

215 * and accessing a corresponding slot in TransferState storage.
216 */
217export function retrieveHydrationInfo(
218 rNode: RElement,
219 injector: Injector,
220 isRootView = false,
221): DehydratedView | null {
222 return _retrieveHydrationInfoImpl(rNode, injector, isRootView);
223}
224
225/**
226 * Retrieves the necessary object from a given ViewRef to serialize:

Callers 2

createComponentRefMethod · 0.90
renderComponentFunction · 0.90

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…