Skip to content
zenui/react-hooks

useIsClient

Returns false during server rendering and the first client render, then true. Use it to render browser-only content without hydration mismatches.

Level
Basic
Since
v2.1.0
import {useIsClient} from '@zenuilabs/react-hooks';
Loading demo_

More in Utilities