본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)29k · #9827

devtools

하는 일

이 스킬은 Solid 테이블을 TanStack Devtools 패널에 등록하는 방법을 보여줍니다. 개발 중에 테이블을 점검할 수 있도록 설정, 필수 키, 정리 작업을 다룹니다.

사용하는 경우

  • ✓Solid 테이블이 devtools 패널에 없어서 등록을 고쳐야 할 때.
  • ✓앱을 개발 모드로 실행하는 동안 Solid 테이블의 상태를 확인하고 싶을 때.
  • ✓특정 테이블에 대해 devtools 등록을 켜거나 끄고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

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.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“개발하는 동안 Solid 테이블을 TanStack devtools 패널에서 보려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

고유한 키로 테이블을 컴포넌트 안에서 만들고, 그 자리에서 등록 훅을 호출하며, 애플리케이션 루트 근처에 devtools 호스트를 하나 추가하는 방법을 설명합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.

자주 묻는 질문

등록 훅은 어디에서 호출해야 하나요?

테이블을 소유한 컴포넌트 안에서 호출해야 하며, 모듈 최상위에서 호출하면 안 됩니다. 그래야 Solid가 등록을 올바르게 정리할 수 있습니다.

제 테이블이 목록에 나타나지 않는 이유는 무엇인가요?

키가 없는 테이블은 건너뛰므로, 실행 중인 각 테이블에 안정적인 고유 키가 필요합니다.

특정 경우에만 켤 수 있나요?

네. 훅에 enabled 옵션을 전달하면 조건에 따라 등록할 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
29k
순위
#9827
라이선스
MIT
업데이트
2026. 10. 21.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬