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

Joined October 2019
๐ŸŽ‰ 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
9
312
Did you know React Hook Form has a <FormState /> component? ๐Ÿ‘€ It lets you subscribe to form state declaratively, with isolated re-renders and less boilerplate. react-hook-form.com/docs/useโ€ฆ Here's a quick example ๐Ÿ‘‡
1
8
106
3,366
๐Ÿš€ Introducing the redesigned React Hook Form docs! Huge thanks to all our contributors and sponsors for being part of this journey. โค๏ธ Open source wouldn't be possible without you! Check it out ๐Ÿ‘‡ react-hook-form.com
1
10
1
118
5,813
๐Ÿš€ 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,496
๐Ÿš€ 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,849
๐ŸŽ‰ 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
48
2,632
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,340
๐Ÿš€ 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,469
๐Ÿš€ 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,429
๐Ÿš€ 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,266
๐Ÿš€ @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,056
๐Ÿš€ 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,193
๐Ÿš€ 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,604
๐Ÿš€ 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
1
307
12,851
๐Ÿš€ 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,926
โš“๏ธ 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
3
6
93
7,081
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
79
6,088
๐Ÿš€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
16
448
63,221
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
185
8,974
Huge thanks to @kotarella1110 for the awesome contribution on compute type support! ๐Ÿ™Œ
16
1,321
๐Ÿ“‹ 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
5
491
31,092