TanStack Releases TanStack Form V1

MMS Founder
MMS Daniel Curtis

TanStack has released the first stable version of TanStack Form, a cross-framework form library with support for React, Vue, Angular, Solid, and Lit. This new addition to the TanStack ecosystem joins the existing lineup of popular form libraries, such as Formik, React Hook Forms or Final Form.

TanStack Form launches with support for five major front-end frameworks: React, Vue, Angular, Solid and Lit. This aligns with the broader TanStack philosophy of creating headless and framework-agnostic components. Looking at some of the comparisons to other libraries within the ecosystem, such as Formik or React Hook Form, TanStack Form supports a wider variety of UI frameworks from day one.

In addition to cross-framework compatibility, TanStack Form also supports multiple runtimes, including mobile and server-side environments like React Native and NativeScript, as well as server-rendered environments such as NextJS and TanStack Start. This broad compatibility ensures that developers can adopt TanStack form regardless of not only their platform, but also their runtimes.

In general, the development community seem excited about the announcement, however even Corbin Crutchley, the lead developer for the project, has mentioned on Reddit that if you are already happy with your existing setup with React Hook Form, then they wouldn’t suggest migrating right away:

“FWIW if you’re already happy with RHF I wouldn’t inherently suggest migrating away with it; it’s a well maintained library by a talented group of maintainers. It’s clearly not going anywhere – even with our entry in the space …”

You may not want to switch, but TanStack Form presents first-class type safety, server-side rendering (SSR) support and a consistent API across frameworks.

A technical detail that is subtle in the documentation, but worth highlighting is that TanStack Forms is using signals under the hood, more specifically TanStack Store, which in turn uses signals for its state management. The architectural choice of signals and their fine-grain reactivity should prevent unnecessary rerenders and ultimately lead to better performance across the board, especially when working with larger forms with complex validation rules.

For validation, the library follows the standard schema specification, which includes validation libraries such as Zod and Valibot. The benefit of following the standard schema specification means that TanStack Form is not tied to a single validation library, and instead can support a wide range of validation libraries that align with the standard schema interface.

TanStack is a collection of libraries to support common requirements in web development. Created by Tanner Linsley, it began with the popular data fetching library React Query (now known as TanStack Query). Since then the ecosystem has grown to include TanStack Table, TanStack Router, TanStack Virtual and now TanStack Form. The libraries are widely adopted across the front-end community with millions of downloads per month, TanStack Query alone currently has 9.5 million weekly downloads.

Developers can find the full documentation on the TanStack website, complete with detailed getting started guides, full API documentation and interactive examples. The project is also open source and hosted on GitHub.

About the Author

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.