useClient
Determine whether the code is running on the client-side.
Installation
Install the custom hook from your command line.
npm i @raddix/use-client
Usage
API
Returns
Name | Descripción | Tipo |
---|---|---|
isClient | true if running in a client-side environment, false otherwise. | boolean |