import { useIsomorphicLayoutEffect } from "https://deno.land/x/netzo@0.4.72/deps/usehooks-ts.ts";
Custom hook for using either useLayoutEffect
or useEffect
based on the environment (client-side or server-side).
x/netzo/deps/usehooks-ts.ts>useIsomorphicLayoutEffect
import { useIsomorphicLayoutEffect } from "https://deno.land/x/netzo@0.4.72/deps/usehooks-ts.ts";
Custom hook for using either useLayoutEffect
or useEffect
based on the environment (client-side or server-side).