Skip to content
Function

useIsClient

False during SSR, true after hydration.

See useIsClient with a live demo

@danixsoft/hooks


useIsClient(): boolean

Returns

boolean