refactor(core): add performance feature flag for incremental hydration (#58658)

This adds a flag for incremental hydration to get usage statistics.

PR Close #58658
This commit is contained in:
Jessica Janiuk 2024-11-14 09:37:43 -05:00
parent 5fe57d4fbb
commit fa1b021aad

View file

@ -343,6 +343,7 @@ export function withIncrementalHydration(): Provider[] {
provide: ENVIRONMENT_INITIALIZER,
useValue: () => {
enableIncrementalHydrationRuntimeSupport();
performanceMarkFeature('NgIncrementalHydration');
},
multi: true,
},