React hook which exposes validation-related props to a form component
It provides the same destructuring pattern as you may have when
assigning the result of useState to a variable. The only key
difference is with the additional 3rd argument which holds extra
form-related and validation-related information. Most notable are
isValid and errors.
Type Parameters
TClass
represents parent form class model holding context of current compontent
React hook which exposes validation-related props to a form component
It provides the same destructuring pattern as you may have when assigning the result of
useState
to a variable. The only key difference is with the additional 3rd argument which holds extra form-related and validation-related information. Most notable areisValid
anderrors
.