Skip to main content
Module

x/hono/middleware.ts>useSyncExternalStore

Web Framework built on Web Standards
Extremely Popular
Go to Latest
variable useSyncExternalStore
Re-export
import { useSyncExternalStore } from "https://deno.land/x/hono@v4.3.2/middleware.ts";

type

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