migrate-v8-to-v9
What it does
This skill guides the upgrade of a Lit project from TanStack Table version 8 to version 9. It is for developers who need a checklist for each changed part of the code.
When to use it
- ✓When your Lit app still uses the v8 table controller and needs an update.
- ✓When you are preparing a Lit project for TanStack Table v9 and its required Lit version.
- ✓When table rendering or state breaks after you upgrade to Table v9.
Skill link
https://github.com/TanStack/table/blob/main/packages/lit-table/skills/migrate-v8-to-v9/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you help me upgrade my Lit table code from TanStack Table v8 to v9?”
5 new skills a week. 1 minute to read.
How it works
It gives a checklist of changes, such as switching to the newer table call during render, and links to detailed notes for each change.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Load intent load @tanstack/table-core#migrate-v8-to-v9 first and audit its entire shared checklist. It owns feature registration, row-model slots, state/reset changes, prototype methods, logical pinning, sizing/resizing, sorting, selection, helpers, and TypeScript mappings.
Framework prerequisites
Lit 3.1.3 or newer within v3 (lit ^3.1.3) and @lit/context ^1.1.0 are required.
Lit migration checklist
- Construct one
TableController<typeof features, TData>(this)as a stable host field. - Replace the v8
controller.tableproperty/options thunk withcontroller.table(options, selector?)during render. - Read selected
table.statefor rendering; use atom snapshots in handlers or stabletable.subscribeselectors for template regions. - Feed resolved controlled callbacks back through reactive Lit properties, or use stable external atoms.
- Switch render helpers to
FlexRender({ cell }),FlexRender({ header }), orFlexRender({ footer })and preserve instance-method receivers. - If app conventions repeat, construct a host-bound
useAppTableonce and call its.table()during render.
Apply the affected mappings
Read adapter-migration when changing construction, rendering, state, or app hooks. Read the relevant core migration references for each affected shared API; this adapter checklist does not replace that audit.
For complete v9 construction examples, read getting-started. For reactive state repairs, read table-state.
Final checks
- All shared core migration checks and affected mappings have been applied.
- The framework checklist above passes with the current adapter declarations.
- Model inputs remain stable and state changes reach their reactive owner.
API discovery
Inspect node_modules/@tanstack/lit-table/dist/index.d.ts, then TableController.d.ts, flexRender.d.ts, or the relevant exported declaration. Core feature APIs are in node_modules/@tanstack/table-core/dist/features/.
FAQ
Which Lit version is needed?
The skill lists Lit 3.1.3 or newer within version 3, plus @lit/context 1.1.0 or newer.
Does this replace the core migration guide?
No. It covers the Lit-specific changes and points to the core guide for shared API changes.
What if my render helpers are out of date?
The skill says to switch them to FlexRender with a cell, header or footer.
Details
Original description by the author
Migrate lit Table v8 to v9. Audit framework construction, rendering, state, and app hooks, with shared API changes in the core migration skill.
repo: TanStack/table
Popularity
- GitHub stars
- 29k
- Ranking position
- #9814
- License
- MIT
- Updated
- 10/21/2026
Comments
- …
More skills from this repository
getting-started
29kTeaches your agent how to build and show a data table with TanStack Table in Alpine.js, covering setup, reactive data and rendering rows.
table-state
29kTeaches your agent how to read and control table state in Alpine.js, such as the current page, so the screen updates when that state changes.
devtools
29kTeaches your agent how to register Angular tables with the TanStack Devtools panel, so developers can inspect each table while they build the app.
getting-started
29kTeaches your agent how to create and show a TanStack table in Angular, covering the injectTable setup, template rendering and updates to row data.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.