react/compose-with-tanstack-form
OfficialCompose editable cells with TanStack Form
Software Engineering#react#tanstack table#zod validation#tanstack form#row selection#column definitions#editable cells
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the problem of building truly editable TanStack Table v9 grids by letting TanStack Form own the editing state, validation, and submissions while the table focuses on layout and data operations.
Core Features & Use Cases
- Editable cell composition: Render row-bound form fields inside each column’s
cell, so edits update form-managed values. - Validation and submit wiring: Attach Zod (or other validators) at the field and form levels, then handle submit from the form.
- Row add/remove with correct reactivity: Add or remove rows via form array operations and re-render safely using a subscription to
state.values.data.length. - Typing safeguards for recursive rows: Avoid TS2589 by using an
Omit<Row,'subRows'>pattern for form-bound row types when recursivesubRowsexist.
Quick Start
Ask an AI to generate a TanStack Table v9 example that composes editable cells using @tanstack/react-form, including add/remove rows, Zod validation, and the Omit<..., 'subRows'> typing fix.
Dependency Matrix
Required Modules
None requiredComponents
Standard packageđź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react/compose-with-tanstack-form Download link: https://github.com/TanStack/table/archive/main.zip#react-compose-with-tanstack-form Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.