Conform · Hook
useForm
useForm is a React hook that returns metadata for a form and its fields. It supports server results, initial values, constraints, validation timing, and submission callbacks.
Last updated
Syntax
const [form, fields] = useForm(options);In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
parseWithZodlastResultonValidateshouldValidateshouldRevalidatedefaultValueconstraint