function useStateimport { useState } from "https://deno.land/x/netzo@0.3.91/deps/preact/hooks.ts"; useState<S>(initialState: S | (() => S)): [S, StateUpdater<S>]Returns a stateful value, and a function to update it. useState<S = undefined>(): [S | undefined, StateUpdater<S | undefined>]Returns a stateful value, and a function to update it. Type ParametersSParametersinitialState: S | (() => S)The initial value (or a function that returns the initial value) Returns[S, StateUpdater<S>]Type ParametersoptionalS = undefinedReturns[S | undefined, StateUpdater<S | undefined>]