function useForm<TFormData, TFormValidator>(opts?): ReactFormExtendedApi<TFormData, TFormValidator>
function useForm<TFormData, TFormValidator>(opts?): ReactFormExtendedApi<TFormData, TFormValidator>
A custom React Hook that returns an extended instance of the FormApi class.
This API encapsulates all the necessary functionalities related to the form. It allows you to manage form state, handle submissions, and interact with form fields
• TFormData
• TFormValidator extends undefined | Validator<TFormData, unknown> = undefined
FormOptions<TFormData, TFormValidator>
ReactFormExtendedApi<TFormData, TFormValidator>
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.