npm / @tanstack/react-form
@tanstack/react-form
What changed in @tanstack/react-form 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-13.
4 breaking4 new APIs and options2 behavior and defaults15 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@tanstack/react-form 125 changes
Breaking changes 4
Errors are flattened consistently when form.validate() runs before a field mounts; flattening is enabled by default unless disableErrorFlat is true.
The Next.js adapter was extracted to this library.
The Remix adapter was extracted to this library.
The Start adapter was extracted to this library and updated to Release Candidate version.
New APIs and options 4
Re-exported from the TanStack Store adapters so developers can use it through those adapters.
Added the FormGroup API.
Adds an extension method to AppForm so teams can extend upstream AppForms.
Adds useTypedAppFormContext for accessing typed app form context.
Behavior and default changes 2
Form ID generation uses React 18's useId by default, with Math.random() as a fallback if no formId is provided.
The render function can now return any ReactNode, not just JSX.Element.
Fixes and other changes 15
Uses a fresh FieldApi in the current render when the field name changes.
Arrays now re-render when their values change even if their length stays the same.
Fixed field unmount behavior.
The fallback selector for the Subscribe component was reimplemented.
The withForm HOC now returns a named function to enable Fast Refresh.
Form arrays work again.
Fixed various SSR issues so things work as expected in more scenarios.
Fixed a compile error with webpack when using React v17.
Array fields with mode="array" now re-render only when the array length changes, not when individual item properties are modified.
FormApi.handleSubmit returns a promise again.
Fixes issues with methods not being present in the React adapter.
Removed useId and replaced it with uuid for React 17 user compatibility.
Fixed issues with React Compiler.
Performance was minorly improved and issues with Start were fixed.
The props type now allows interfaces to be assigned to it.