Performant, flexible and extensible forms with easy-to-use validation.

๐ŸŽ‰ We are finally here! Version 7! After 2 years of working on this library. We can confident to say this is the best we can offer to everyone on building forms in React. We hope you will enjoy building form in React. react-hook-form.com/
15
60
312
๐Ÿš€ v7.87.0 is out! โœจ Highlights: โ€ข Better type safety with getErrors() & OpaqueTypes โ€ข trigger() now supports shouldTouch โ€ข Performance improvements โ€ข Fixes across useWatch, Controller & useFieldArray โ€ข Validation & Next.js improvements ๐Ÿ”— github.com/react-hook-form/rโ€ฆ
1
4
125
6,455
๐Ÿš€ v7.85.0 is now available! โœจ React <Activity /> support ๐Ÿ› ๏ธ Improvements to useWatch, setValue, validation & field arrays ๐Ÿ› Multiple bug fixes and TS improvements ๐Ÿงน Deps and internal cleanup Huge thanks to everyone who contributed! โค๏ธ github.com/react-hook-form/rโ€ฆ
13
109
5,819
๐ŸŽ‰ v7.83.0 is out! โšก Improved dirtyFields performance โšก Better TypeScript performance & recursive type depth handling โšก File input event improvements โœจ New delayError option for setValue Several fixes improving form state consistency and reliability. github.com/react-hook-form/rโ€ฆ
2
47
2,616
React Hook Form v7.81.0 is out! ๐Ÿš€ - New <FieldArray /> component - More performance improvements - Fixes for useFieldArray, reset, useController, validation, setValue, and more. React Hook Form just keeps getting better. ๐Ÿ’™ github.com/react-hook-form/rโ€ฆ
1
8
163
10,328
๐Ÿš€ Big one for the React Hook Form community: Thoughtworks has placed React Hook Form in the Adopt ring on its Technology Radar. A strong signal that RHF is seen as a proven choice for building forms in modern React apps. ๐Ÿ™Œ See it here ๐Ÿ‘‡ thoughtworks.com/en-au/radarโ€ฆ
1
2
35
2,459
๐Ÿš€ v7.79.0 is out! ๐Ÿšท Added disabled support for FieldArray ๐Ÿž Fixed Controller onChange promises ๐Ÿž Improved deepEqual shared reference handling ๐Ÿž Fixed radio group native validation ๐Ÿž Fixed Fast Refresh, StrictMode, and React Compiler issues (v8) github.com/react-hook-form/rโ€ฆ
2
28
1,423
๐Ÿš€ v7.77.0 is out! ๐Ÿฅก Added resetDefaultValues() for updating defaultValues ๐Ÿš Hardened get() ๐Ÿž Fixed FieldArray errors, reset(), shouldUnregister, and isDirty ๐Ÿ‘ Smaller bundle Release notes ๐Ÿ‘‡ github.com/react-hook-form/rโ€ฆ
1
4
80
4,260
๐Ÿš€ @hookform/resolvers v5.4.0 is out! โœจ Features โ€ข Added ata-validator resolver ๐Ÿ›  Fixes & improvements โ€ข Fixed toNestErrors.ts issue โ€ข Added guidance for passing context to yupResolver via useForm Thanks to all contributors ๐Ÿ™Œ github.com/react-hook-form/rโ€ฆ
1
3
36
2,049
๐Ÿš€ v7.76.0 is out! โ€ข Improved isDirty sync with dirtyFields โ€ข Better useFieldArray consistency โ€ข Preserved nested resolver errors in trigger() โ€ข Restored TypeScript 4 compatibility Plus lots of edge-case fixes and DX improvements ๐Ÿ‘ github.com/react-hook-form/rโ€ฆ
3
9
130
8,190
๐Ÿš€ v7.75.0 is out! ๐Ÿฆง Smarter dirtyFields pruning (no more empty false nodes) ๐ŸŽน TypeScript 6 ๐ŸŒก๏ธ Small improvements to setValue & reset ๐Ÿž Multiple fixes: FormProvider, isDirty, useWatch, field arrays Great work from contributors ๐Ÿ™Œ
10
179
9,600
๐Ÿš€ React Hook Form v7.74.0 is out ๐Ÿช‡ New: setValues for flexible updates ๐Ÿž Fixes: โ€ข preserve value when useController name changes โ€ข handle null parent on nested unregister โ€ข treat NaN as empty with valueAsNumber Small release, solid improvements ๐Ÿ‘Œ github.com/react-hook-form/rโ€ฆ
2
20
307
12,846
๐Ÿš€ Version 7.73.1 published ๐Ÿš‰ faster deepEqual & memoized submit ๐Ÿ‘€ skip re-render when setValue unchanged + important fixes for field state, watch, and nested values โš ๏ธ v7.73.0 had an npm false positive flag โ€” now resolved github.com/react-hook-form/rโ€ฆ
4
73
3,924
โš“๏ธ feat: Built-in form-level validation Introducing a new validate option in useForm โ€” works with the built-in validator for cross-field validation. โ€ข Supports async logic out of the box โ€ข Flexible return types: true, string, or structured error
4
6
93
7,077
Thanks to @vercel for 6 years+ of sponsoring and hosting our website. We experienced a brief downtime last night, but it looks like itโ€™s been resolved by the Vercel team. Once again, thank you for the continued support over the years โ€” much appreciated ๐Ÿ™
1
1
78
6,086
๐Ÿš€Say hello to the new <Watch /> โ€” a super simple, declarative way to watch form values. If you love useWatch(), youโ€™ll really love this. Go check it out! โšก๏ธ react-hook-form.com/docs/useโ€ฆ
3
53
448
63,209
v7.61.0 has been published ๐ŸŽ‰ ๐Ÿงฎ compute prop for useWatch ๐Ÿ‘จโ€๐Ÿ”ง Trigger watch only on value change ๐Ÿ™ Track name in setValue subscriptions โŒจ๏ธ Return type fix for watch + defaultValue ๐Ÿž Bug fixes ๐Ÿงน Cleanup: unused utils & patterns github.com/react-hook-form/rโ€ฆ
3
25
186
8,971
Huge thanks to @kotarella1110 for the awesome contribution on compute type support! ๐Ÿ™Œ
16
1,320
๐Ÿ“‹ React Hook Form retweeted
๐ŸŒž Great news! @hookform/resolvers 5.1.0 now supports Zod v4, Zod v4 mini, and Zod v3! ๐Ÿš€๐ŸŽ‰ Big thanks to @craviottoalex for starting the effort ๐Ÿ™ and to @colinhacks for bringing it to the finish line! ๐Ÿ› ๏ธ๐Ÿ’ช
10
39
492
31,079
๐Ÿ”ฅ Resolver v5 released! github.com/react-hook-form/rโ€ฆ
๐Ÿš€ @hookform/resolvers v5 is out! Highly requested & finally here! Now with type inference from your schemaโ€”no more manual typing! ๐ŸŽฏ Try it with Zod, @arktypeio, @valibot and more! Big thanks to @kotarella1110, @lukedeentaylor, and @bluebill1049 for the help! ๐Ÿ™Œ
1
10
171
8,503