MCPcopy
hub / github.com/angular/angular / hydrationFeature

Function hydrationFeature

packages/platform-browser/src/hydration.ts:59–65  ·  view source on GitHub ↗

* Helper function to create an object that represents a Hydration feature.

(
  ɵkind: FeatureKind,
  ɵproviders: Provider[] = [],
  ɵoptions: unknown = {},
)

Source from the content-addressed store, hash-verified

57 * Helper function to create an object that represents a Hydration feature.
58 */
59function hydrationFeature<FeatureKind extends HydrationFeatureKind>(
60 ɵkind: FeatureKind,
61 ɵproviders: Provider[] = [],
62 ɵoptions: unknown = {},
63): HydrationFeature<FeatureKind> {
64 return {ɵkind, ɵproviders};
65}
66
67/**
68 * Disables HTTP transfer cache. Effectively causes HTTP requests to be performed twice: once on the

Callers 6

withNoHttpTransferCacheFunction · 0.85
withI18nSupportFunction · 0.85
withEventReplayFunction · 0.85
withIncrementalHydrationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…