mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
@@ -343,6 +343,7 @@ export function withIncrementalHydration(): Provider[] {
|
||||
provide: ENVIRONMENT_INITIALIZER,
|
||||
useValue: () => {
|
||||
enableIncrementalHydrationRuntimeSupport();
|
||||
performanceMarkFeature('NgIncrementalHydration');
|
||||
},
|
||||
multi: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user