mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit removes the `withNoDomReuse` function to minimize public API. The `withNoDomReuse` function used to disable DOM reuse, which is the main feature of the `provideClientHydration()`. The `withNoDomReuse()` function was in the "developer preview" mode, so the removal happens without prior deprecation. BREAKING CHANGE: The `withNoDomReuse()` function was removed from the public API. If you need to disable hydration, you can exclude the `provideClientHydration()` call from provider list in your application (which would disable hydration features for the entire application) or use `ngSkipHydration` attribute to disable hydration for particular components. See this guide for additional information: https://angular.io/guide/hydration#how-to-skip-hydration-for-particular-components. PR Close #52057 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| hydration_spec.ts | ||
| integration_spec.ts | ||
| transfer_state_spec.ts | ||