react-hook-form
7.91.0 · 23 Oct 2026MIT42M / weekRepositoryHomepagenpmAtom feed
Your version
7.91.0 is the newest release of 7.x.
In short
2 new1 changed
Release note
Added
useFormaddedvaluesprops
const values = await fetch('API');
useForm({
values, // will reset the form when values updates
// resetOptions: {
// keepDirtyValues: true
// }
});New
isLoadingformState for asyncdefaultValues
const {
formState: { isLoading },
} = useForm();Changed
useFormsupport asyncdefaultValuesprops
const {
formState: { isLoading },
} = useForm({
defaultValues: fetch('API'),
// resetOptions: {
// keepDirtyValues: true
// }
});