Skip to main content

devtools

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.

소스 정보

저장소
TanStack/table
최근 소스 활동
2026년 10월 8일 21:31
감지된 SKILL.md 언어
영어
스타
28,480
포크
3,587

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
devtools
description
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.
metadata
{"type":"framework","library":"@tanstack/solid-table-devtools","framework":"solid","library_version":"9.2.8"}
requires
["@tanstack/table-core#core","@tanstack/table-devtools#devtools"]
sources
["TanStack/table:docs/devtools.md","TanStack/table:packages/solid-table-devtools/src/index.ts","TanStack/table:packages/solid-table-devtools/src/useTanStackTableDevtools.ts"]
This skill builds on @tanstack/table-core#core and @tanstack/table-devtools#devtools. ## Setup ```tsx 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`.
GitHub에서 보기