Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/usehooks-ts.ts>useIsClient

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function useIsClient
import { useIsClient } from "https://deno.land/x/netzo@0.4.78/deps/usehooks-ts.ts";

Custom hook for determining if the code is running on the client side (in the browser).

Examples

const isClient = useIsClient(); // Use isClient to conditionally render or execute code specific to the client side.

Returns

boolean

A boolean value indicating whether the code is running on the client side.