vue/table-state

Official

Make Vue table state fully reactive

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you wire TanStack Table v9 state into Vue reactivity so sorting, filtering, selection, and pagination update reliably without missing updates or stale reads.

Core Features & Use Cases

  • Vue reactivity binding for tables: Uses vueReactivity() to map readonly atoms to computed() and writable atoms to shallowRef(), with synchronous watch subscriptions to keep the UI in sync.
  • Three surfaces for consuming state: Access per-slice atoms via table.atoms.<slice>, read a flat snapshot via table.store.state, and use the useTable(..., selector) return for Vue-selected state.
  • External state integration: Supports external atoms via @tanstack/vue-store (createAtom, useSelector) or external state with on[State]Change handlers, requiring Vue-tracked getters for reactive refs.
  • Rendering & subscriptions: Use <FlexRender> for headers/cells/footers and table.Subscribe when cross-store subscription parity is needed.

Quick Start

Install the Vue adapters, import useTable and FlexRender, define stable tableFeatures() and columns at module scope, pass reactive ref/computed options into useTable, and render headers/rows with FlexRender to get fully reactive table behavior.

Dependency Matrix

Required Modules

None required

Components

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/table-state
Download link: https://github.com/TanStack/table/archive/main.zip#vue-table-state

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.