devtools
What it does
This skill shows how to register React tables with the TanStack Devtools panel, so developers can inspect them while building. It covers setup, required keys and cleanup.
When to use it
- ✓When a React table is missing from the devtools panel and you need to fix its registration.
- ✓When you want to inspect a React table's state while the app runs in development.
- ✓When you need the devtools hook to follow React rules instead of being called conditionally.
Skill link
https://github.com/TanStack/table/blob/main/packages/react-table-devtools/skills/devtools/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
“Why is my React table not showing in the TanStack devtools panel?”
5 new skills a week. 1 minute to read.
How it works
It explains how to give the table a unique key, call the registration hook right after creating the table and add one devtools host near the root of the app.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
This skill builds on @tanstack/table-core#core and @tanstack/table-devtools#devtools.
Setup
import { TanStackDevtools } from '@tanstack/react-devtools'
import { useTable, tableFeatures } from '@tanstack/react-table'
import {
tableDevtoolsPlugin,
useTanStackTableDevtools,
} from '@tanstack/react-table-devtools'
const features = tableFeatures({})
const columns = [{ accessorKey: 'id' }]
const data: Array<{ id: string }> = []
export function App() {
const table = useTable({
key: 'users-table',
features,
columns,
data,
})
useTanStackTableDevtools(table)
return <TanStackDevtools plugins={[tableDevtoolsPlugin()]} />
}
Hooks and Components
Use useTanStackTableDevtools(table, { enabled }) immediately after creating the table. Mount one TanStackDevtools host with tableDevtoolsPlugin() near the application root.
Common Mistakes
HIGH Hook receives a keyless table
Wrong: create the table without key and expect the hook to infer a name.
Correct: set a unique key in table options before calling the hook.
Core target registration skips keyless tables.
Source: TanStack/table:docs/devtools.md
HIGH Hook called conditionally
Wrong: call useTanStackTableDevtools only inside an if branch.
Correct: call it every render and pass { enabled: condition }.
The hook owns React effect registration and cleanup.
Source: TanStack/table:packages/react-table-devtools/src/useTanStackTableDevtools.ts
MEDIUM Default import expected in production
Wrong: expect the normal hook/plugin/panel to inspect production tables.
Correct: keep normal guidance development-only; use the /production entrypoint only when explicitly required.
The default index selects no-op implementations outside development.
Source: TanStack/table:packages/react-table-devtools/src/index.ts
API Discovery
Inspect node_modules/@tanstack/react-table-devtools/dist/index.d.ts and useTanStackTableDevtools.d.ts for the installed lifecycle API.
FAQ
Why is my table skipped by the devtools?
Tables without a key are skipped, so the skill says to set a unique key before calling the hook.
Can I turn devtools registration on or off?
Yes. Pass an enabled option to the hook instead of calling it only inside an if branch.
Where should the devtools host go?
Near the application root, once, with the table devtools plugin added to it.
Details
Original description by the author
Connect React Table v9 instances to Devtools with tableDevtoolsPlugin and useTanStackTableDevtools. Load for missing Table panels, registration lifecycle, required options.key, enabled state, or development versus explicit production exports.
repo: TanStack/table
Popularity
- GitHub stars
- 29k
- Ranking position
- #9823
- 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.