hooks

use-has-mounted

Returns false during SSR and the first client render, true after mount. The SSR-safe gate for client-only rendering.

hasMounted: false

The value is false on the server, true after hydration.

Installation

import from @workspace/ui module-owned, not registry-installable

Usage