devtools
하는 일
이 스킬은 React 표를 TanStack Devtools 패널에 등록해, 개발자가 만드는 동안 표를 점검할 수 있게 하는 방법을 보여 줍니다. 설정, 필수 키, 정리 작업을 다룹니다.
사용하는 경우
- ✓React 표가 devtools 패널에 없어서 등록을 고쳐야 할 때.
- ✓개발 중 실행되는 React 앱에서 표의 상태를 점검하고 싶을 때.
- ✓devtools 훅이 if 분기 안에서 조건부로 호출되지 않고 React 규칙을 따라야 할 때.
스킬 링크
https://github.com/TanStack/table/blob/main/packages/react-table-devtools/skills/devtools/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“React 표가 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/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.
자주 묻는 질문
devtools가 왜 제 표를 건너뛰나요?
키가 없는 표는 건너뛰므로, 훅을 호출하기 전에 고유한 키를 설정하라고 이 스킬은 말합니다.
devtools 등록을 켜거나 끌 수 있나요?
네, if 분기 안에서만 호출하지 않고 훅에 enabled 옵션을 넘기면 됩니다.
devtools 호스트는 어디에 두어야 하나요?
앱 루트 근처에 한 번, 표 devtools 플러그인을 추가해 두면 됩니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 29k
- 순위
- #9823
- 라이선스
- MIT
- 업데이트
- 2026. 10. 21.
댓글
- …
이 저장소의 다른 스킬
getting-started
29k에이전트가 Alpine.js에서 TanStack Table로 데이터 표를 만들고 표시하는 방법을 가르칩니다. 설정, 반응형 데이터, 행 렌더링을 다룹니다.
table-state
29k에이전트가 Alpine.js에서 현재 페이지 같은 표의 상태를 읽고 제어하도록 가르칩니다. 상태가 바뀌면 화면도 함께 업데이트됩니다.
devtools
29k에이전트가 Angular 표를 TanStack Devtools 패널에 등록하는 방법을 가르칩니다. 개발자가 앱을 만드는 동안 각 표를 점검할 수 있게 합니다.
getting-started
29k에이전트가 Angular에서 TanStack 표를 만들고 표시하는 방법을 가르칩니다. injectTable 설정, 템플릿 렌더링, 행 데이터 업데이트를 다룹니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.