Improving server side rendering docs to include feature (#221)

* Improving server side rendering docs to include feature

* Update server_sider_rendering.md

---------

Co-authored-by: Vito Chiarella <vchiarella@demonware.net>
Co-authored-by: luoxiaozero <48741584+luoxiaozero@users.noreply.github.com>
This commit is contained in:
Nibodhika 2024-07-31 16:45:05 +01:00 committed by GitHub
parent 710d7c6703
commit 084f3010a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,3 +11,15 @@ To enable the hydrate mode, the following configurations are required:
```toml
thaw = { ..., features = ["hydrate"] }
```
Remember to add thaw to your `Cargo.toml` file in the corresponding feature, e.g.
```toml
[features]
...
hydrate = [..., "thaw/hydrate"]
ssr = [
...
"thaw/ssr",
]
```