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

devtools

하는 일

이 스킬은 Vue 테이블을 TanStack Devtools 패널에 등록해 개발 중에 점검하는 방법을 보여줍니다. 테이블 설정, 필수 키, 테이블이 교체될 때의 정리 작업을 다룹니다.

사용하는 경우

  • ✓Vue 테이블이 devtools 패널에 없어서 등록을 고쳐야 할 때.
  • ✓Vue 컴포넌트의 테이블이 교체되고 devtools도 새 테이블을 따라가야 할 때.
  • ✓devtools를 개발 빌드에서만 나타나게 하고 싶을 때.

스킬 링크

https://github.com/TanStack/table/blob/main/packages/vue-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/vue-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에게 요청하는 예시

“제 Vue 테이블이 TanStack devtools 패널에 왜 나타나지 않나요?”

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

작동 방식

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

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

This skill builds on @tanstack/table-core#core and @tanstack/table-devtools#devtools.

Setup

<script setup lang="ts">
import { useTable, tableFeatures } from '@tanstack/vue-table'
import { useTanStackTableDevtools } from '@tanstack/vue-table-devtools'

const table = useTable({
  key: 'users-table',
  features: tableFeatures({}),
  columns: [],
  data: [],
})

useTanStackTableDevtools(table)
</script>

<template><div>Users table registered</div></template>

Mount the Vue TanStackDevtools host once with tableDevtoolsPlugin({}), following docs/devtools.md.

Hooks and Components

The hook accepts a table or ref-like table and tracks replacement. Keep that reactive wrapper intact rather than unwrapping once.

Common Mistakes

HIGH Ref unwrapped before registration

Wrong: read a ref once and register only that snapshot.

Correct: pass the ref/maybe-ref shape accepted by the hook.

The adapter watches the resolved table and cleans up when it changes.

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

HIGH Missing or duplicate key

Wrong: omit key or reuse a key across mounted tables.

Correct: use one descriptive stable key for each target.

The registry skips keyless tables and replaces duplicate targets.

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

MEDIUM Development gate mistaken for broken plugin

Wrong: expect the default panel/plugin/hook in production.

Correct: keep normal Devtools development-only unless explicitly importing /production.

The package index selects no-op exports outside development.

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

API Discovery

Inspect node_modules/@tanstack/vue-table-devtools/dist/index.d.ts and useTanStackTableDevtools.d.ts for current ref handling.

자주 묻는 질문

테이블을 왜 ref에 보관해야 하나요?

이 스킬은 훅이 교체를 추적하므로, ref를 한 번 풀면 스냅샷만 등록된다고 설명합니다.

제 테이블이 건너뛰어지는 이유는 무엇인가요?

키가 없는 테이블은 건너뛰고, 중복된 키는 서로를 덮어쓰므로 각 테이블에 고유 키가 필요합니다.

등록을 끌 수 있나요?

네. 훅은 enabled 옵션을 받으므로 등록을 끌 수 있습니다.

상세 정보

작성자의 원본 설명

Connect Vue Table v9 refs or instances to Devtools with tableDevtoolsPlugin and useTanStackTableDevtools. Load for missing targets, reactive table replacement, required options.key, enabled state, cleanup, or development gating.

repo: TanStack/table

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬