* Brings the necessary i18n hydration code in tree-shakable manner. * Similar to `enableHydrationRuntimeSupport`, the code is only * present when `withI18nSupport` is invoked.
()
| 114 | * present when `withI18nSupport` is invoked. |
| 115 | */ |
| 116 | function 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. |
no test coverage detected
searching dependent graphs…