Skip to content
Skillpedia
Websites & UI (frontend)29k · #9827

devtools

What it does

This skill shows how to register Solid 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 Solid table is missing from the devtools panel and you need to fix its registration.
  • ✓When you want to inspect a Solid table's state while the app runs in development.
  • ✓When you want devtools registration to be turned on or off for a particular table.

Skill link

https://github.com/TanStack/table/blob/main/packages/solid-table-devtools/skills/devtools/SKILL.md

Copy 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

Use this skill to help me: https://github.com/TanStack/table/blob/main/packages/solid-table-devtools/skills/devtools/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“How do I see my Solid table in the TanStack devtools panel while I develop?”

5 new skills a week. 1 minute to read.

How it works

It explains how to create the table with a unique key inside its component, call the registration hook there and add one devtools host near the application root.

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/solid-devtools'
import { createTable, tableFeatures } from '@tanstack/solid-table'
import {
  tableDevtoolsPlugin,
  useTanStackTableDevtools,
} from '@tanstack/solid-table-devtools'

const features = tableFeatures({})

export function App() {
  const table = createTable({
    key: 'users-table',
    features,
    columns: [],
    data: [],
  })
  useTanStackTableDevtools(table)
  return <TanStackDevtools plugins={[tableDevtoolsPlugin()]} />
}

Hooks and Components

Register inside the component's Solid owner. Pass { enabled } to the hook for conditional registration.

Common Mistakes

HIGH Registration created outside an owner

Wrong: call the Solid registration hook at module scope.

Correct: call it in the component that owns the table.

The hook uses Solid reactive cleanup to unregister the target.

Source: TanStack/table:packages/solid-table-devtools/src/useTanStackTableDevtools.ts

HIGH Missing or reused table key

Wrong: omit options.key or share one key between mounted tables.

Correct: assign a stable unique key per live table.

The target registry skips missing keys and replaces duplicate identities.

Source: TanStack/table:packages/table-devtools/src/tableTarget.ts

MEDIUM Production entrypoint assumed active

Wrong: expect normal Devtools exports to inspect a production table.

Correct: keep default guidance development-only; use /production only on explicit request.

The package index selects no-op implementations outside development.

Source: TanStack/table:packages/solid-table-devtools/src/index.ts

API Discovery

Inspect node_modules/@tanstack/solid-table-devtools/dist/index.d.ts, useTanStackTableDevtools.d.ts, and production.d.ts.

FAQ

Where should I call the registration hook?

Inside the component that owns the table, not at module scope, so Solid can clean up the registration correctly.

Why is my table not listed?

Tables without a key are skipped, so each live table needs a stable unique key.

Can I enable it only in some cases?

Yes. Pass an enabled option to the hook for conditional registration.

Details

Original description by the author

Connect Solid Table v9 instances to Devtools with tableDevtoolsPlugin and useTanStackTableDevtools in the proper reactive owner. Load for missing targets, required options.key, enabled state, cleanup, or development versus explicit production exports.

repo: TanStack/table

Popularity

GitHub stars
29k
Ranking position
#9827
License
MIT
Updated
10/21/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills