Skip to Content
🎉 Coral now has an MCP Server, check out the docs
DocumentationUtilsuseIsClient

useIsClient

A hook to detect if code is running on the client-side.

Import

import { useIsClient } from '@octopus-energy/utils';

Usage

const isClient = useIsClient();

Returns

TypeDescriptionExample
boolean
Last updated on