migrate-v8-to-v9
하는 일
이 스킬은 Preact 프로젝트를 TanStack Table 8버전에서 9버전으로 업그레이드하는 과정을 안내합니다. 바뀐 코드를 명확한 체크리스트로 점검하려는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Preact 앱이 아직 예전 React 방식의 표 훅을 import하고 있어 업데이트가 필요할 때.
- ✓Table v9는 Preact 10 이상이 필요하므로 Preact 프로젝트를 업그레이드할 때.
- ✓Table v9로 옮긴 뒤 표의 상태나 렌더링이 깨질 때.
스킬 링크
https://github.com/TanStack/table/blob/main/packages/preact-table/skills/migrate-v8-to-v9/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 Preact 앱은 TanStack Table v8을 쓰고 있어요. v9로 업그레이드하는 것을 도와주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
바뀐 코드의 감사 체크리스트를 제공하고, 각 변경에 대한 자세한 참고 메모를 가리켜 중요한 단계를 놓치지 않도록 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Preact v8-to-v9 migration checklist
Before starting, run intent load @tanstack/table-core#migrate-v8-to-v9. Audit its entire shared checklist and read the detailed core mappings for APIs present in the application. This checklist adds the Preact-specific changes.
Framework prerequisite: Preact 10 or newer (preact >=10).
Adapter audit
- Replace React-adapter imports and
useReactTablewith native@tanstack/preact-tableanduseTable. - Remove compat aliases that existed only for Table. Preserve aliases still required by other libraries, including a React Virtual integration.
- Keep model inputs stable and configure explicit features/row-model slots; complete the shared core checklist.
- Use selected
table.state,table.Subscribe, or Preact Store subscriptions; snapshots alone do not rerender consumers. - Pair controlled slices with callbacks, or supply stable atoms from
@tanstack/preact-store; remove globalonStateChange. - Use native Preact FlexRender components. Adopt
tableOptionsorcreateTableHookonly for repeated app conventions.
Load the affected details
When the audit finds old Preact construction, state, rendering, or app-hook code, read adapter migration details before editing it. For a replacement render scaffold, read getting started. For controlled or stale state after migration, read table state.
Shared pinning, sizing, sorting, selection, prototype-method, type, and registry changes stay in the core migration references. Renaming useReactTable alone does not complete the migration.
Verify the migration
- Type-check against the installed v9 adapter and exercise every enabled client/manual feature flow.
- Verify external state writes, reactive data replacement, and the framework rendering paths changed above.
- Complete the core checklist, including layout and selection behavior when those features are used.
- Replace temporary
stockFeatureswhen the target is explicit feature tree-shaking.
API discovery
Inspect node_modules/@tanstack/preact-table/dist/index.d.ts and the exported adapter declarations. Use node_modules/@tanstack/table-core/dist/index.d.ts for shared APIs.
자주 묻는 질문
어떤 Preact 버전이 필요한가요?
Table v9에는 Preact 10 이상이 필요하다고 이 스킬은 설명합니다.
오래된 호환성 코드를 제거하나요?
표만을 위해 존재했던 별칭은 제거하라고 말하지만, 다른 라이브러리가 필요로 하는 별칭은 남기라고 합니다.
이 체크리스트가 모든 변경을 다루나요?
아니요, Preact 전용 변경을 다루며, 공유 핵심 마이그레이션 체크리스트도 함께 따르라고 안내합니다.
상세 정보
작성자의 원본 설명
Migrate preact Table v8 to v9. Audit framework construction, rendering, state, and app hooks, with shared API changes in the core migration skill.
repo: TanStack/table
인기도
- GitHub 스타
- 29k
- 순위
- #9821
- 라이선스
- 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에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.