Hooks
useIsClient
SSR guard that returns false on the server and true after mount.
Overview
useIsClient() is an SSR guard. Returns false on the server and during hydration, true after the component mounts on the client.
Usage
Returns
| Type | Description |
|---|---|
boolean | false on server / during hydration, true after client mount |
When to use
Use useIsClient() when you need to access browser-only APIs (window, document, navigator) that are not available during server-side rendering.
react-kino's built-in components already handle SSR safety internally, so you typically only need this hook when building custom scroll-driven components.