From 0bbbd784827f1ebc8c49ce3032a6f1b125bc1a57 Mon Sep 17 00:00:00 2001 From: Andrew Kushnir Date: Tue, 13 Aug 2024 17:18:00 -0700 Subject: [PATCH] docs: add `withEventReplay` and `withI18nSupport` links to `provideClientHydration` docs (#57382) PR Close #57382 --- packages/platform-browser/src/hydration.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/platform-browser/src/hydration.ts b/packages/platform-browser/src/hydration.ts index f9f58d09d9b9c2..a1e602a46dc319 100644 --- a/packages/platform-browser/src/hydration.ts +++ b/packages/platform-browser/src/hydration.ts @@ -160,9 +160,12 @@ function provideZoneJsCompatibilityDetector(): Provider[] { * transferring this cache to the client to avoid extra HTTP requests. Learn more about data caching * [here](guide/ssr#caching-data-when-using-httpclient). * - * These functions allow you to disable some of the default features or configure features + * These functions allow you to disable some of the default features or enable new ones: + * * * {@link withNoHttpTransferCache} to disable HTTP transfer cache * * {@link withHttpTransferCacheOptions} to configure some HTTP transfer cache options + * * {@link withI18nSupport} to enable hydration support for i18n blocks + * * {@link withEventReplay} to enable support for replaying user events * * @usageNotes * @@ -187,6 +190,8 @@ function provideZoneJsCompatibilityDetector(): Provider[] { * * @see {@link withNoHttpTransferCache} * @see {@link withHttpTransferCacheOptions} + * @see {@link withI18nSupport} + * @see {@link withEventReplay} * * @param features Optional features to configure additional router behaviors. * @returns A set of providers to enable hydration.