No SSR
stableDefers rendering until after mount.
Basic usage
Rendering on server…
Examples
Browser-only value
Show content that relies on browser APIs — safe on the server, accurate on the client.
Rendering on server…
Deferred with one frame
Pass defer to delay one animation frame after mount, smoothing flash for slow renders.
Loading…
fallback and defer
fallback shows during SSR; defer waits one animation frame after mount.
Server fallback
Features
- SSR-safe fallback.
- Client-only children.
Installation
bash
pnpm dlx structyl add no-ssrAPI Reference
NoSsr
Client-only renderer.
| Prop | Type | Default |
|---|---|---|
| fallback | React.ReactNodeRendered until mounted. | null |
| defer | booleanWait one animation frame before rendering children. | false |