vue/compose-with-tanstack-store
OfficialShare Vue table state using TanStack Store
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Compose external, shareable TanStack Table state slices in Vue so sorting, pagination, filters, and selection stay consistent across components without fragile prop-drilling or callback plumbing.
Core Features & Use Cases
- External slice ownership via atoms: Create your own state slices with
createAtomand wire them intouseTableusingoptions.atomsfor predictable cross-component sharing. - Reactive read surfaces: Read atom slices using
useSelector(orcomputed) to keep Vue updates efficient and narrowly scoped. - Correct precedence and wiring: Ensure the table uses
atoms[slice]overstate[slice]to avoid silent dead configuration, and understand howtable.reset()interacts with owned vs internal slices. - When to use atoms vs controlled state: Persist slices, coordinate side effects, and integrate with query keys by driving changes directly from atom writes.
Quick Start
Ask an AI to show how to create a stable sorting and pagination atom with @tanstack/vue-store, pass them via options.atoms into useTable, and read them reactively with useSelector so multiple Vue components share the same table state.
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-store Download link: https://github.com/TanStack/table/archive/main.zip#vue-compose-with-tanstack-store 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.