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

Function enableI18nHydrationRuntimeSupport

packages/core/src/hydration/api.ts:116–123  ·  view source on GitHub ↗

* Brings the necessary i18n hydration code in tree-shakable manner. * Similar to `enableHydrationRuntimeSupport`, the code is only * present when `withI18nSupport` is invoked.

()

Source from the content-addressed store, hash-verified

114 * present when `withI18nSupport` is invoked.
115 */
116function enableI18nHydrationRuntimeSupport() {
117 if (!isI18nHydrationRuntimeSupportEnabled) {
118 isI18nHydrationRuntimeSupportEnabled = true;
119 enableLocateOrCreateI18nNodeImpl();
120 enablePrepareI18nBlockForHydrationImpl();
121 enableClaimDehydratedIcuCaseImpl();
122 }
123}
124
125/**
126 * Outputs a message with hydration stats into a console.

Callers 1

withI18nSupportFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…