mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs: remove developer preview note from hydration feature in docs (#52197)
PR Close #52197
This commit is contained in:
committed by
Pawel Kozlowski
parent
941e65b2a0
commit
39b149cefe
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user