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

Function retrieveHydrationInfo

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

Source from the content-addressed store, hash-verified

216 * and accessing a corresponding slot in TransferState storage.
217 */
218export function retrieveHydrationInfo(
219 rNode: RElement,
220 injector: Injector,
221 isRootView = false,
222): DehydratedView | null {
223 return _retrieveHydrationInfoImpl(rNode, injector, isRootView);
224}
225
226/**
227 * 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