Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function useSsr
Deprecated
Deprecated

useSsr isn't a valid react hook and will be dropped in the next major release. See #258

import { useSsr } from "https://deno.land/x/netzo@0.4.72/deps/usehooks-ts.ts";

Examples

const { isBrowser, isServer } = useSsr();

Returns

{ isBrowser: boolean; isServer: boolean; }