Developer Toolsintermediate

React Hook Form vs Formik

React Hook Form vs Formik compared for 2026: React Hook Form 7.92 (uncontrolled inputs, zero dependencies, actively released) vs Formik 2.4.9 (controlled state in React, last released November 2025). Includes re-render counts and typing times we measured on 20- and 200-field forms, bundle sizes with Yup and Zod, submit behaviour, React 19 status and when each still makes sense.

Quick Answer

React Hook Form and Formik both manage form values, validation and submission in React, but they store state in different places. Formik 2.4.9 keeps every value, error and touched flag in React state, so each keystroke re-renders the form and, with the default <Field>, every field in it. React Hook Form 7.92.0 (11 November 2026) registers inputs as uncontrolled DOM elements and only re-renders components that subscribe to the piece of state that changed. In our runs on 1 December 2026, typing 50 characters into one field of a 200-field form with schema validation on change took 970-1,048 ms with Formik's <Field>, 758-768 ms with <FastField> and 79-82 ms with React Hook Form, which rendered zero components while Formik rendered fields 20,000 times. Bundles are close when you bring a schema library: 26,982 bytes gzipped for Formik plus Yup against 26,725 for React Hook Form plus Yup. The bigger difference is upkeep. React Hook Form shipped 7.87 through 7.92 between August and November 2026 and has a v8 beta; Formik's last release and last commit were on 10 November 2025, with 842 open issues. Pick React Hook Form for new work. Keep Formik where it already works and the forms are small.

Last updated December 1, 2026. Covers React Hook Form 7.92.0 (11 November 2026) and Formik 2.4.9 (10 November 2025); npm registry metadata and download counts, GitHub repository and release data, Formik docs (FastField, <Formik> API, validation guide) and installed package source read on 1 December 2026, plus render, typing, mount, submit and bundle runs we did that day.

Feature comparison of React Hook Form vs Formik
FeatureReact Hook FormFormik
Licence & Repository
MIT; react-hook-form/react-hook-form, ~44.9k stars
Apache-2.0; jaredpalmer/formik, ~34.3k stars
Latest Release
7.92.0 on 11 Nov 2026 (8.0.0-beta.5 on 23 Oct)
2.4.9 on 10 Nov 2025
State Model
Uncontrolled inputs via refs; subscription-based formState
Controlled: all values, errors and touched in React state
Runtime Dependencies & Install
0 deps; 2.7 MB installed with React 19
8 direct deps (lodash, lodash-es, deepmerge...), 10 packages; 10.8 MB with React 19
npm Weekly Downloads (23-29 Nov 2026)
60,425,050
5,827,813
Our Run: Renders, 20 Fields x 20 Keystrokes
0 form / 0 field renders; 56-59 ms
40 form / 800 field renders (FastField: 20); 155-161 ms
Our Run: 200 Fields x 50 Keystrokes
79-82 ms; 0 renders (onChange mode)
970-1,048 ms (FastField 758-768 ms); 20,000 field renders
Our Run: Mount 200 Fields
76-78 ms; 2 renders
49-52 ms; 1 render
Validation Work per Keystroke
None before submit (default); whole schema per keystroke in onChange mode
Whole schema on every change and blur (default)
Default Validation Timing
mode onSubmit, reValidateMode onChange
validateOnChange true, validateOnBlur true
Our Run: Login Form, Built-in Validation (min / gzip)
35,504 B / 12,933 B
41,704 B / 14,162 B
Our Run: Login Form + Yup (min / gzip)
79,324 B / 26,725 B (with Zod: 124,123 / 38,812)
83,324 B / 26,982 B
Schema Libraries
@hookform/resolvers: Zod, Yup, Valibot, ArkType, Joi, Standard Schema and more
Yup via validationSchema; others through a validate function
Focus First Error on Submit
Yes, by default
No
Values Passed to onSubmit
Resolver output (coerced types)
Raw values (strings stay strings)
Empty Input Handling
Passed to the resolver as-is
Converted to undefined before validation
Dynamic Field Arrays
useFieldArray
<FieldArray>
Controlled UI Components (MUI etc.)
<Controller> / useController
<Field as>, useField
React 19 Status
Supported (peer ^16.8 to ^19); no warnings on 19.3.1 in our run
Patched in 2.4.8/2.4.9 (Nov 2025); no warnings on 19.3.1 in our run
Release Activity (2026)
7.87.0 to 7.92.0 between Aug and Nov 2026; v8 beta
No releases in 2026

React Hook Form

React Hook Form is a hooks-based form library built around uncontrolled inputs. You call useForm(), spread register('email', rules) onto native inputs, and the library reads values from the DOM through refs instead of copying every keystroke into React state. Components re-render only when they read a part of formState that changed, such as errors or isDirty, and useWatch or watch let you subscribe to specific fields. Validation can use built-in HTML-style rules (required, minLength, pattern, validate) or a schema through @hookform/resolvers, whose 7.0.10 release lists peers for Zod 3.25 and 4, Yup 1, Valibot, ArkType, Joi, Effect, TypeBox, Standard Schema and more. Controlled third-party inputs go through <Controller> or useController, and lists through useFieldArray. The package has no runtime dependencies and supports React 16.8 to 19. Version 7.92.0 (11 November 2026) was a bug-fix release with more than twenty fixes to field arrays, async validation and dirty state, and the v8 line is in beta (8.0.0-beta.5, 23 October 2026) with React Compiler compatibility work and better primitive field arrays.

Pros

  • Typing does not re-render the form: 0 component renders for 50 keystrokes in a 200-field form in our run, against 20,000 field renders with Formik's <Field>
  • Fast at scale: 79-82 ms for those 50 keystrokes with whole-schema validation on every change, against 970-1,048 ms for Formik
  • No runtime dependencies; 2.7 MB installed with React against 10.8 MB for Formik and its ten dependencies
  • Moves focus to the first invalid field on submit by default (shouldFocusError: true)
  • Resolvers return the schema's parsed output, so z.coerce.number() delivered age as the number 21 to onSubmit
  • Actively maintained: releases every few weeks in 2026, 13 open GitHub issues, and a v8 beta in progress

Cons

  • Uncontrolled by design: controlled UI kits need <Controller> or useController, which adds boilerplate per field
  • Re-render behaviour depends on which formState properties you read; destructuring everything brings back extra renders
  • Two renders on mount in our run (Formik had one), and mounting 200 fields took 76-78 ms against 49-52 ms
  • Schema support lives in a separate package (@hookform/resolvers) with its own version and peer ranges to keep in step
  • A v8 major is coming; its beta notes list API and TypeScript changes you will have to absorb

Best For

New React and React Native forms of any size, large or dynamic forms where typing speed matters, and teams using Zod, Valibot or another schema library through resolvers.

Formik

Formik is a long-established React form library that keeps values, errors, touched flags and submission state in React state inside <Formik> or useFormik(), and gives you <Form>, <Field>, <ErrorMessage> and <FieldArray> components wired to that state. Validation is either a validate function or a Yup schema passed as validationSchema, and runs on change and on blur by default. Because every change updates the shared state, the form and every plain <Field> re-render on each keystroke; the docs offer <FastField>, which implements shouldComponentUpdate, for forms of about 30 or more fields. Formik 2.4.9 (10 November 2025) and 2.4.8 three days earlier fixed React 19 typing and ref issues, and there has been no release or commit since. The package depends on lodash, lodash-es, deepmerge, hoist-non-react-statics, react-fast-compare, tiny-warning and tslib, and its peer range is react >=16.8.0. It is still downloaded close to six million times a week, mostly by existing applications.

Pros

  • The mental model is plain React: values live in state, so any component inside the form can read and render them
  • Yup integration is built in through validationSchema, with no adapter package
  • Mounted 200 fields in 49-52 ms with a single render in our run, faster than React Hook Form's 76-78 ms
  • Controlled inputs from any UI kit work through <Field as={...}> or useField without a wrapper component
  • Mature and well documented, with years of tutorials and answers covering most edge cases

Cons

  • Every keystroke re-renders the form twice (value, then validation result) and every plain <Field>: 20,000 field renders for 50 keystrokes in a 200-field form
  • Slow on large forms: 970-1,048 ms for those 50 keystrokes, and <FastField> only brought it to 758-768 ms because validation still runs on the whole schema
  • No release or commit since 10 November 2025, with 842 open issues as of 1 December 2026
  • onSubmit receives raw input values: age arrived as the string "21" even with a Yup number schema
  • Does not focus the first invalid field on submit; you write that yourself

Best For

Existing Formik codebases with small to medium forms that work today, and teams that want form state visible in React for rendering logic and accept the re-render cost.

Where the state lives decides everything else

Formik stores the form in React. <Formik> holds values, errors, touched and isSubmitting in a reducer, and every <Field> reads that state from context. Change one character and Formik dispatches a value update, runs validation, then dispatches the errors: two renders of the form per keystroke, and every plain <Field> re-renders with it because context changed. React Hook Form stores values in the DOM. register('email') returns name, ref, onChange and onBlur; the input stays uncontrolled, and the library reads its value when it validates or submits. formState is a proxy, so a component re-renders only for the properties it actually read, such as errors.email or isDirty. That design has a cost: a third-party component that only works as a controlled input, such as many date pickers or a MUI Select, needs <Controller> or useController, which turns that one field back into a controlled input. It also means rendering logic that depends on another field's value needs useWatch rather than reading values directly. Formik's model is easier to reason about when a form is small and much of the UI depends on current values. React Hook Form's model is what keeps large forms fast.

What we measured: renders and typing time

On 1 December 2026 we rendered both libraries with React 19.3.1 in jsdom 31.0.1 through @testing-library/react 16.3.3, pinned to one core of a 2-vCPU sandbox on Node.js 22.23.5. Each form had a schema with one refinement per field (Yup 1.7.1 for Formik, Zod 4.6.7 through zodResolver for React Hook Form) that counted its calls. Typing 20 characters into one field of a 20-field form rendered Formik's form 40 times and its fields 800 times in 155-161 ms; <FastField> cut field renders to 20 but not the time, because the whole schema still ran 400 times. React Hook Form rendered nothing in 56-59 ms, with zero validation calls in its default onSubmit mode and the same 400 in onChange mode. At 200 fields and 50 keystrokes, three runs each: Formik <Field> 970-1,048 ms and 20,000 field renders, <FastField> 758-768 ms and 50, React Hook Form in onChange mode 79-82 ms and zero. Reading formState.errors did not add renders while no error changed. Mounting went the other way: 49-52 ms and one render for Formik, 76-78 ms and two renders for React Hook Form. jsdom has no layout or paint, so real browsers will show smaller absolute gaps, but the render counts are the same.

Validation, submit and the values you get back

Defaults differ. Formik validates the whole form on every change and every blur (validateOnChange and validateOnBlur default to true, per its docs and source). React Hook Form's defaults in 7.92.0 are mode onSubmit, reValidateMode onChange and shouldFocusError true: nothing runs until the first submit, then fields re-validate as they change. We submitted an empty email-and-age form to both. Formik reported only "email required": its prepareDataForValidation step turns empty strings into undefined before Yup sees them, so an optional number field passed, and focus stayed where it was. React Hook Form with Zod reported both fields and moved focus to the email input. On a valid submit with age typed as "21", Formik's onSubmit received the string "21" because validationSchema validates but does not transform the values you get back, while React Hook Form passed the number 21 because the resolver returns the schema's parsed output. That one difference removes a class of Number(values.age) bugs. Schema choice is wider on the React Hook Form side: @hookform/resolvers 7.0.10 has adapters for Zod 3 and 4, Yup, Valibot, ArkType, Joi, Effect, TypeBox, Standard Schema and others. Formik supports Yup directly and anything else through a hand-written validate function.

Bundle size and dependencies

We bundled the same two-field login form with esbuild 0.28.2 (minified, ESM, React external, gzip -9). With built-in validation only, Formik came to 41,704 bytes and 14,162 gzipped against 35,504 and 12,933 for React Hook Form. Add Yup and the two converge: 83,324 / 26,982 for Formik and 79,324 / 26,725 for React Hook Form through yupResolver, because the schema library dominates. React Hook Form with zodResolver and Zod 4.6.7 was 124,123 / 38,812. One trap we hit: importing Zod as import { z } from 'zod' made esbuild keep every Zod locale and produced 493,417 / 106,555 bytes; import * as z from 'zod' avoided it. That is a Zod packaging detail, not a React Hook Form one, but it shows up in form bundles. On install, react-hook-form has no dependencies and took 2.7 MB with React 19. Formik has eight direct dependencies, ten packages in all, including both lodash and lodash-es, for 10.8 MB. Neither number matters much to a production bundle once tree-shaken, but the dependency count matters for audits and supply-chain review, and React Hook Form gives you one package to watch instead of eleven.

Maintenance, migration and when not to switch

Checked on 1 December 2026: react-hook-form 7.92.0 was published on 11 November, the repository had 13 open issues and a push on 28 November, and 8.0.0-beta.5 (23 October) lists React Compiler compatibility and primitive field array changes. Formik's newest release is 2.4.9 from 10 November 2025, its repository's last push was the same day, and it had 842 open issues. Formik's two last releases did fix React 19 types and refs, and we saw no console errors on React 19.3.1, so it is not broken today; the risk is the next React, TypeScript or bundler change. Do not switch just because a newer library exists if your Formik forms are short and stable. Do plan a move when forms grow, when typing lags on low-end devices, or when you want schema-typed submit values. Migration is per form, so both libraries can live in one app during the move. Map initialValues to defaultValues, validationSchema to resolver: yupResolver(schema) so your Yup schemas carry over, <Field> to register or <Controller>, <FieldArray> to useFieldArray, and setFieldValue to setValue. Keep in mind that values you previously read from Formik's render props need useWatch, and that React Hook Form's v8 will bring its own migration later.

Verdict

Pick React Hook Form for any new form in 2026. In our runs it rendered nothing while the user typed, handled a 200-field form about twelve times faster than Formik's default <Field>, focused the first invalid input on submit and passed parsed, typed values from a Zod schema to onSubmit. It is also the one being maintained: six releases between August and November 2026 and a v8 beta, against no Formik release since November 2025. Keep Formik when you already have it and your forms are small: on a ten-field login or settings form the re-render cost is a few milliseconds per keystroke and a rewrite buys you little. Migrate when a form grows past a few dozen fields, when typing visibly lags, when you need Zod or Valibot rather than Yup, or when a React or TypeScript upgrade breaks something that a library with 842 open issues and no commits will not fix for you. If you migrate, start with the largest form, not the simplest, because that is where the gain is.

All Comparisons

React Hook Form vs Formik — FAQ

Common questions answered from the comparison above

Is Formik still maintained in 2026?

Not actively. As of 1 December 2026 the latest release is 2.4.9 from 10 November 2025, the GitHub repository's last push was that same day and there are 842 open issues. Those last releases fixed React 19 compatibility, and it ran without warnings on React 19.3.1 in our test.

Is React Hook Form faster than Formik?

While typing, yes, by a wide margin. Typing 50 characters into a 200-field form took 79-82 ms with React Hook Form and 970-1,048 ms with Formik's <Field> in our jsdom runs, and React Hook Form rendered zero components against 20,000 field renders. Formik mounted the form faster (49-52 ms vs 76-78 ms).

Does FastField fix Formik's performance?

Partly. In our 200-field test it cut field renders from 20,000 to 50, but typing time only fell from about 1,000 ms to about 760 ms because the form still re-renders twice per keystroke and the whole schema still validates on each change.

Can I keep my Yup schemas when moving to React Hook Form?

Yes. Install @hookform/resolvers and pass resolver: yupResolver(schema). A login form with Yup bundled to 26,725 bytes gzipped with React Hook Form against 26,982 with Formik, so the schema costs the same either way.

Does React Hook Form work with MUI and other controlled components?

Yes, through <Controller> or the useController hook, which wrap a controlled component and connect it to the form. Native inputs and components that forward refs can use register directly.

Should I use React Hook Form v8 beta?

Not for production unless you need its specific fixes. 7.92.0 is the stable release; the v8 beta notes list TypeScript and field array API changes, so wait for the stable release and its migration guide.

Get the next comparison by email

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.