๐ 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/
๐ @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โฆ
๐ 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 ๐
๐ 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โฆ
๐ 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โฆ
โ๏ธ 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
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 ๐
๐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โฆ
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โฆ
๐ 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! ๐ ๏ธ๐ช
ALT Code snippet showing how to install version 5.1.0 of @hookform/resolvers with support for Zod v3, v4, and v4 mini using npm.
๐ @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! ๐
ALT Code snippet showing a React form using react-hook-form and Zod. The form has a number input, but Zod transforms the value into a string. The console logs typeof data.id as "string", highlighting type inference in Resolvers v5. ๐
Sorry, our documentation has been taken down temporarily. If you need to access it, please use this link for now: deploy-preview-1130--sage-caโฆ (Thanks Netlify <3). We apologize for the inconvenience ๐
๐ We are doing great in 2024 (State of React 2024), with more improvements and features in 2025. Thanks to everyone who contributes to and uses the library.