Skip to content

Commit b25c82b

Browse files
committed
update
1 parent d00622e commit b25c82b

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

src/routes/reference/components/no-hydration.mdx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@ Content inside the boundary.
3939

4040
- **Type:** `JSX.Element`
4141

42+
Returns the server-rendered children.
43+
4244
## Behavior
4345

4446
- During server rendering, children inside `<NoHydration>` render normally.
45-
- During client hydration, Solid skips hydrating that subtree.
46-
- Event listeners and reactive updates are not attached to content inside the boundary during hydration.
47+
- During client hydration, Solid leaves the existing server-rendered DOM in place and does not hydrate that subtree.
48+
- Interactive behavior inside the boundary does not hydrate on the client.
4749
- Placing `<Hydration>` inside `<NoHydration>` does not override the no-hydration behavior.
4850

4951
## Examples
5052

5153
### Basic usage
5254

5355
```tsx
54-
import { NoHydration } from "solid-js/web";
55-
5656
function Example() {
5757
return (
5858
<div>
@@ -64,7 +64,3 @@ function Example() {
6464
);
6565
}
6666
```
67-
68-
## Related
69-
70-
- [`<Portal>`](/reference/components/portal)

0 commit comments

Comments
 (0)