What problem does it solve?
TanStack Table v8 to v9 migrations for the Preact adapter can break due to renamed APIs, changed row-model/feature wiring, and updated rendering and typing patterns, causing difficult-to-debug runtime behavior and TypeScript errors.
Core Features & Use Cases
- Map v8 APIs to v9 equivalents: Converts
useReactTable, get*RowModel options, flexRender, and type generics into the v9 useTable, _features/_rowModels, table.FlexRender, and updated ColumnDef/Table helper signatures.
- Guide the correct v9 feature registration: Ensures the feature(s) you call are registered in
_features, and the corresponding row-model factories exist in _rowModels so methods become functional instead of no-ops.
- Update state management strategy: Translates
state + on*Change patterns into the v9-preferred atoms approach for finer-grained updates and better reactivity.
Quick Start
Ask an AI coding agent to generate a v8-to-v9 patch for your @tanstack/preact-table usage by applying the skill’s mappings, replacing useReactTable with useTable and wiring _features/_rowModels, then updating column typing and replacing flexRender calls with table.FlexRender.