Module

x/hono/middleware.ts>useSyncExternalStore

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

type

<T>(
subscribe: (callback: (value: T) => void) => () => void,
getSnapshot: () => T,
getServerSnapshot?: () => T,
) => T
import useSyncExternalStore
import { useSyncExternalStore } from "https://dotland.deno.dev/x/hono@v4.3.2/middleware.ts";