docs: remove developer preview note from hydration feature in docs (#52197)

PR Close #52197
This commit is contained in:
Andrew Kushnir 2023-10-12 14:12:40 -07:00 committed by Pawel Kozlowski
parent 941e65b2a0
commit 39b149cefe
2 changed files with 0 additions and 12 deletions

View file

@ -1,11 +1,5 @@
# Hydration
<div class="alert is-important">
The hydration feature is available for [developer preview](/guide/releases#developer-preview). It's ready for you to try, but it might change before it is stable.
</div>
## What is hydration
Hydration is the process that restores the server side rendered application on the client. This includes things like reusing the server rendered DOM structures, persisting the application state, transferring application data that was retrieved already by the server, and other processes.

View file

@ -122,12 +122,6 @@ If your Angular application doesn't follow this practice, you can quickly and ea
Hydration is the process that restores the server side rendered application on the client. This includes things like reusing the server rendered DOM structures, persisting the application state, transferring application data that was retrieved already by the server, and other processes. Learn more about hydration in [this guide](guide/hydration).
<div class="alert is-important">
The hydration feature is available for [developer preview](/guide/releases#developer-preview). It's ready for you to try, but it might change before it is stable.
</div>
You can enable hydration by updating the `app.config.ts` file.
Import the `provideClientHydration` function from `@angular/platform-browser` and add the function call to the `providers` section as shown below.