โ† Back to libraries

react-hook-form

Active

react-hook-form / react-hook-form

๐Ÿ“‹ React Hooks for form state management and validation (Web + React Native)

Stars

44.8K

Forks

2.5K

NPM Downloads

-

Bundle (gzip)

-

OtherReact + NativeMITdxform-builderformsreact-hooksreact-nativereactjstypescriptuxvalidation

Recent Releases

v7.82.0 โ€” Version 7.82.0

๐Ÿš€ feat: add opt-in delayError option for setValue (13337) tsx setValue("firstName", "Bill", { delayError: 500, // delay validation error updates by 500ms shouldValidate: true }); โšก pe

Jul 18, 2026

v7.81.0 โ€” Version 7.81.0

โšœ๏ธ feat: FieldArray component (13394) tsx <FieldArray control={control} name="test" render={({ fields }) => null} /> ๐Ÿž fix 13538 useFieldArray min 1 item validation error changes its

Jul 5, 2026

v7.80.0 โ€” Version 7.80.0

๐Ÿง„ feat: disable useFieldArray fields (13535) tsx const { fields } = useFieldArray({ disabled: true }); fields0.disabled; // contains disabled props ๐Ÿ›บ perf: make rhf more performant (13524) ๐Ÿž

Jun 20, 2026

v7.79.0 โ€” Version 7.79.0

๐Ÿšท feat: use field array disabled (13520) ๐Ÿž fix controller onChange promise (13518) ๐Ÿž fix: track visited pairs in deepEqual to avoid false positives with shared object references (13515) ๐Ÿž fix 1

Jun 13, 2026

v7.78.0 โ€” Version 7.78.0

๐Ÿฆท update type dirtyFields typing for field arrays with undefined entries (13492) ๐Ÿž fix: recover Controller fields after reset without rerender (RN issue 13455) (13497) ๐Ÿž fix useFormState().isDirt

Jun 7, 2026

v7.77.0 โ€” Version 7.77.0

๐Ÿฅก feat: add resetDefaultValues API (13427) https://react-hook-form.com/docs/useform/resetdefaultvalues tsx const { resetDefaultValues } = useForm(); resetDefaultValues(currentValues);

May 31, 2026

v7.76.1 โ€” Version 7.76.1

๐Ÿž fix: pass options parameter through setValues to enable validation (13457) ๐Ÿž fix(setValues): emit whole-form change without stale name/type (13450) ๐Ÿš— perf(setValues): thread skipClone through s

May 23, 2026

v7.76.0 โ€” Version v7.76.0

๐Ÿชญ close 13141 improve isDirty sync with dirtyFields state (13370) ๐Ÿž fix isValidating reactivity when validatingFields is not subscribed (13440) ๐Ÿ›บ test: fix duplicate-word typos in test descriptio

May 16, 2026

v7.75.0 โ€” Version 7.75.0

๐Ÿฆง feat: improve get dirty fields prune empty fields (13363) diff + dirtyFields: { test: { data: false } } - dirtyFields: {} // removed the empty node with false value ๐ŸŽน typescript 6.0 (133

May 2, 2026

v7.74.0 โ€” Version 7.74.0

๐Ÿช‡ feat: setValues (13201) tsx setValues((data) => { return { ...data, name: 'test' } }) setValues(formValues); ๐Ÿž fix: preserve previous field value when useController na

Apr 25, 2026