preact/table-state
OfficialBuild fine-grained reactive table state.
Software Engineering#preact#atoms#tanstack-table#reactive state#table subscribe#fine-grained rendering#useTable selector
AuthorTanStack
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you wire TanStack Table’s Preact adapter so your datagrid updates efficiently and correctly as sorting, pagination, selection, and other state slices change—without over-rendering.
Core Features & Use Cases
- Wiring reactivity with
useTable: UseuseTable(including the optional selector) to connect your Preact component to TanStack Store-backed table state. - Reading the right state with atoms vs store: Access table state via
table.state,table.store, andtable.atoms.<slice>while keeping subscriptions intentional. - Fine-grained rendering with
<table.Subscribe>/<Subscribe>: Subscribe at component boundaries for slice-level reactivity, and use the standalone<Subscribe>inside cell/header render contexts wheretable.Subscribeis unavailable. - External state integration: Own slices externally using
useCreateAtom+options.atoms, or use classicstate+on*Changepatterns pluscreateTableHookfor reusable shared table configuration.
Quick Start
Ask an AI to show you how to implement a Preact TanStack Table v9 with useTable plus a narrow selector, and use <table.Subscribe> (or standalone <Subscribe> in cells) to render pagination and row selection updates without unnecessary re-renders.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: preact/table-state Download link: https://github.com/TanStack/table/archive/main.zip#preact-table-state 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.