Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(platform-browser): remove withNoDomReuse function #52057

Closed

Commits on Oct 9, 2023

  1. refactor(platform-browser): remove withNoDomReuse function

    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.
    AndrewKushnir committed Oct 9, 2023
    Copy the full SHA
    69cab96 View commit details
    Browse the repository at this point in the history