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

x/hono/jsx/hooks/index.ts>useSyncExternalStore

Web Framework built on Web Standards
Very Popular
Go to Latest
variable useSyncExternalStore
import { useSyncExternalStore } from "https://deno.land/x/hono@v4.3.6/jsx/hooks/index.ts";

type

<T>(
subscribe: (callback: (value: T) => void) => () => void,
getSnapshot: () => T,
getServerSnapshot?: () => T,
) => T