state
Reactive local component state. Compiles to useState; ephemeral (resets on unmount).
Valid in: component body, store body
See also: the guide.
Generated from the compiler’s reserved-keyword set. Do not edit by hand — run
bun run scripts/site/gen-keyword-reference.tsto regenerate.