svelte/table-state

Official

Build reactive TanStack Table state in Svelte 5.

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you correctly wire TanStack Table v9 state in Svelte 5 so your datagrid updates predictably, efficiently, and without stale renders.

Core Features & Use Cases

  • Rune-based state reactivity: Use $state, $derived.by, and $effect.pre to keep table state in sync with the DOM before rendering.
  • Correct slice-based state access: Read table.state via selectors and use table.atoms / table.baseAtoms while respecting which features are registered.
  • Fine-grained subscriptions: Use subscribeTable(atom, selector?) with .current to limit rerenders to the parts of your UI that need updates.
  • State ownership patterns: Choose between initialState, external atoms (via @tanstack/svelte-store), or state + on[State]Change for controlled slices.

Quick Start

Ask an AI coding agent to “Set up TanStack Table v9 state in Svelte 5 using tableFeatures(), createTable(), table.state selector projection, and subscribeTable() for a single fine-grained UI update.”

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