Module

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

Fast, Lightweight, Web-standards
Very Popular
Go to Latest
variable useState
import { useState } from "https://dotland.deno.dev/x/hono@v4.1.0/jsx/hooks/index.ts";

type

<T>(initialState: T | (() => T)) => [T, UpdateStateFunction<T>]