Open History to see the last commit
1---
2id: comparison
3title: Comparison | TanStack Form
4---
5β
6> β οΈ This comparison table is under construction and is still not completely accurate. If you use any of these libraries and feel the information could be improved, feel free to suggest changes (with notes or evidence of claims) using the "Edit this page on Github" link at the bottom of this page.
7β
8Feature/Capability Key:
9β
10- β
1st-class, built-in, and ready to use with no added configuration or code
11- π‘ Supported, but as an unofficial 3rd party or community library/contribution
12- πΆ Supported and documented, but requires extra user-code to implement
13- π Not officially supported or documented.
14β
15| Feature | TanStack Form | Formik | Redux Form | React Hook Form | Final Form |
16| ------------------------------------------------- |----------------------------------------------| ------------------------------ | -------------------------------------- | ------------------------------------------------ | -------------------------------------- |
17| Github Repo / Stars | [![][stars-tanstack-form]][gh-tanstack-form] | [![][stars-formik]][gh-formik] | [![][stars-redux-form]][gh-redux-form] | [![][stars-react-hook-form]][gh-react-hook-form] | [![][stars-final-form]][gh-final-form] |
18| Supported Frameworks | React, Vue, Angular, Solid, Lit | React | React | React | React, Vue, Angular, Solid, Vanilla JS |
19| Bundle Size | [![][bp-tanstack-form]][bpl-tanstack-form] | [![][bp-formik]][bpl-formik] | [![][bp-redux-form]][bpl-redux-form] | [![][bp-react-hook-form]][bpl-react-hook-form] | [![][bp-final-form]][bpl-final-form] |
20| First-class TypeScript support | β
| β | β | β
| β
|
21| Fully Inferred TypeScript (Including Deep Fields) | β
| β | β | β
| π |
22| Headless UI components | β
| β | β | β
| β |
23| Framework agnostic | β
| β | β | π | β
|
24| Granular reactivity | β
| β | β | β | β
|
25| Nested object/array fields | β
| β
| β | β
*(1) | β
|
26| Async validation | β
| β
| β | β
| β
|
27| Built-in async validation debounce | β
| β | β | β | β |
28| Schema-based Validation | β
| β
| β | β
| β |
29β
30*(1) For nested arrays, react-hook-form requires you [to cast the field array by its name](https://react-hook-form.com/docs/usefieldarray) if you're using TypeScript
31β
32[bpl-tanstack-form]: https://bundlephobia.com/result?p=@tanstack/react-form
33[bp-tanstack-form]: https://badgen.net/bundlephobia/minzip/@tanstack/react-form?label=πΎ
34[gh-tanstack-form]: https://github.com/TanStack/form
35[stars-tanstack-form]: https://img.shields.io/github/stars/TanStack/form?label=%F0%9F%8C%9F
36β
37[bpl-formik]: https://bundlephobia.com/result?p=formik
38[bp-formik]: https://badgen.net/bundlephobia/minzip/formik?label=πΎ
39[gh-formik]: https://github.com/jaredpalmer/formik
40[stars-formik]: https://img.shields.io/github/stars/jaredpalmer/formik?label=%F0%9F%8C%9F
41β
42β
43[bpl-redux-form]: https://bundlephobia.com/result?p=redux-form
44[bp-redux-form]: https://badgen.net/bundlephobia/minzip/redux-form?label=πΎ
45[gh-redux-form]: https://github.com/redux-form/redux-form
46[stars-redux-form]: https://img.shields.io/github/stars/redux-form/redux-form?label=%F0%9F%8C%9F
47β
48[bpl-react-hook-form]: https://bundlephobia.com/result?p=react-hook-form
49[bp-react-hook-form]: https://badgen.net/bundlephobia/minzip/react-hook-form?label=πΎ
50[gh-react-hook-form]: https://github.com/react-hook-form/react-hook-form
51[stars-react-hook-form]: https://img.shields.io/github/stars/react-hook-form/react-hook-form?label=%F0%9F%8C%9F
52β
53[bpl-final-form]: https://bundlephobia.com/result?p=final-form
54[bp-final-form]: https://badgen.net/bundlephobia/minzip/final-form?label=πΎ
55[gh-final-form]: https://github.com/final-form/final-form
56[stars-final-form]: https://img.shields.io/github/stars/final-form/final-form?label=%F0%9F%8C%9F