useForm
Package: @tesserix/hooks
Lightweight form state helper with optional validation.
Import
import { useForm } from '@tesserix/hooks'Source
- Hook:
packages/hooks/src/use-form.ts
Usage
import { useForm } from '@tesserix/hooks'
export function DemouseForm() {
const form = useForm({ initialValues: { email: '' } })
return null
}