vue/compose-with-tanstack-form
OfficialEdit table cells with TanStack Form state
Software Engineering#state management#vue#recursive types#tanstack form#editable table#cell bindings#reactive performance
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Building editable datagrids often leads to tangled state management, rerender performance problems, and hard-to-type recursive row data when using Vue.
Core Features & Use Cases
- Form-owned row data: Keep the source of truth in @tanstack/vue-form and have @tanstack/vue-table render from that state.
- Cell bindings per row index: Bind each editable cell to the corresponding field path like data[${row.index}].fieldName using <form.Field>.
- Performance-safe subscriptions: Subscribe to data length for row add/remove re-renders instead of subscribing to the entire data array on every keystroke.
- Recursive row typing fix: Use Omit<Row, 'subRows'> for the form row type to avoid TS2589 caused by DeepKeys recursion.
- Use Case: Create an editable, paginated Vue table where each row can be added/removed and each cell updates form state with validation and submit handled by the form.
Quick Start
Ask an AI agent to generate a Vue example that composes @tanstack/vue-table with @tanstack/vue-form using form.state.values.data as the table data source and <form.Field name="data[${row.index}].fieldName"> bindings for each cell.
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: vue/compose-with-tanstack-form Download link: https://github.com/TanStack/table/archive/main.zip#vue-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.