Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

comparison.md

58 lines6.8 KB

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| First Party Devtools | πŸ›‘\*(2) | πŸ›‘ | βœ…\*(3) | βœ… | ❓ |
30| SSR integrations | βœ… | πŸ›‘ | πŸ›‘ | πŸ›‘ | πŸ›‘ |
31| React Compiler support | βœ… | ❓ | ❓ | πŸ›‘ | ❓ |
32​
33\*(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
34​
35\*(2) Planned
36​
37\*(3) Via Redux Devtools
38​
39[bpl-tanstack-form]: https://bundlephobia.com/result?p=@tanstack/react-form
40[bp-tanstack-form]: https://badgen.net/bundlephobia/minzip/@tanstack/react-form?label=πŸ’Ύ
41[gh-tanstack-form]: https://github.com/TanStack/form
42[stars-tanstack-form]: https://img.shields.io/github/stars/TanStack/form?label=%F0%9F%8C%9F
43[bpl-formik]: https://bundlephobia.com/result?p=formik
44[bp-formik]: https://badgen.net/bundlephobia/minzip/formik?label=πŸ’Ύ
45[gh-formik]: https://github.com/jaredpalmer/formik
46[stars-formik]: https://img.shields.io/github/stars/jaredpalmer/formik?label=%F0%9F%8C%9F
47[bpl-redux-form]: https://bundlephobia.com/result?p=redux-form
48[bp-redux-form]: https://badgen.net/bundlephobia/minzip/redux-form?label=πŸ’Ύ
49[gh-redux-form]: https://github.com/redux-form/redux-form
50[stars-redux-form]: https://img.shields.io/github/stars/redux-form/redux-form?label=%F0%9F%8C%9F
51[bpl-react-hook-form]: https://bundlephobia.com/result?p=react-hook-form
52[bp-react-hook-form]: https://badgen.net/bundlephobia/minzip/react-hook-form?label=πŸ’Ύ
53[gh-react-hook-form]: https://github.com/react-hook-form/react-hook-form
54[stars-react-hook-form]: https://img.shields.io/github/stars/react-hook-form/react-hook-form?label=%F0%9F%8C%9F
55[bpl-final-form]: https://bundlephobia.com/result?p=final-form
56[bp-final-form]: https://badgen.net/bundlephobia/minzip/final-form?label=πŸ’Ύ
57[gh-final-form]: https://github.com/final-form/final-form
58[stars-final-form]: https://img.shields.io/github/stars/final-form/final-form?label=%F0%9F%8C%9F