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

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가 스킬을 읽고 지침을 따릅니다.

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

Use this skill to help me: https://github.com/TanStack/table/blob/main/packages/preact-table/skills/migrate-v8-to-v9/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 useReactTable with native @tanstack/preact-table and useTable.
  • 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 global onStateChange.
  • Use native Preact FlexRender components. Adopt tableOptions or createTableHook only 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 stockFeatures when 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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬