Content
useIsClient
Custom hook that determines if the component is being rendered on the client side.
useIsClient
Usage
API
useIsClient
A custom React hook that determines if the component is being rendered on the client side.
Returns
Name | Type | Description |
---|---|---|
isClient | boolean | Returns true if the component is mounted on the client, false otherwise. |