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

migrate-v8-to-v9

하는 일

이 공통 가이드는 여러 프레임워크에 걸쳐 TanStack Table 프로젝트를 버전 8에서 버전 9로 업데이트하도록 돕습니다. 코드를 바꾸기 전에 영향받는 API를 모두 찾아야 하는 개발자를 위한 것입니다.

사용하는 경우

  • ✓기존 테이블 중 v9에서 바뀐 API를 쓰는 부분을 목록으로 만들어야 할 때.
  • ✓테이블을 업그레이드하면서 테스트와 타입 검사로 동작이 유지되는지 확인하고 싶을 때.
  • ✓내 프로젝트에 맞는 프레임워크별 마이그레이션 가이드가 무엇인지 확실하지 않을 때.

스킬 링크

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

“제 기존 TanStack Table 코드를 살펴보고 v9에서 바꿔야 할 것을 모두 나열해 주시겠어요?”

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

작동 방식

에이전트에게 테이블의 옵션, import, 상태를 조사하고, 각 항목을 공통 체크리스트와 대조한 뒤 해당하는 세부 참고 자료를 읽으라고 안내합니다.

기술 내용 (원본 SKILL.md)

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

Migrate Table v8 to v9

Read core first. Audit every item below before choosing detailed mappings. This shared checklist owns the complete core migration; the installed adapter's migration skill owns construction, rendering, framework requirements, and reactive wiring.

Procedure

  1. Establish passing tests for the existing table and inventory its enabled interactions, imports, options, and state owners.
  2. Follow the whole audit checklist. Read a mapping reference when the audit finds affected code; preserve behavior while migrating features and construction.
  3. Load the installed adapter with intent load <package>#migrate-v8-to-v9 and its table-state skill. Substitute the actual adapter package. React, Preact, Solid, Svelte, Vue, Angular, and Lit have migration skills; Alpine, Ember, and Octane have no v8 adapter migration journey.
  4. Type-check, exercise every enabled interaction and client/server stage, and complete the explicit v9 setup.

Treat useLegacyTable as a deprecated React-only bridge for an existing incremental migration. It bundles every feature, can exceed the v8 bundle, and is not the target architecture. Its only entrypoint is @tanstack/react-table/legacy.

Read mappings for affected code

Audit finds Read
Feature registration, row-model factories, function slots, bound methods, or consumed internals Architecture mappings
getState, onStateChange, controlled ownership, observation, or reset changes State mappings
Aggregation, logical pinning, sizing/resizing, sorting names, or selection predicates Feature API mappings
Explicit generics, column helpers, scoped meta, registry augmentation, or RowData TypeScript mappings

Complete audit checklist

  • Load the installed framework adapter's migration and table-state skills.
  • Replace the v8 adapter constructor/hook/controller with its v9 entrypoint.
  • Add a stable features object to every table.
  • Inventory every feature API used by table, row, column, cell, and header code; register each stock feature the table actually uses.
  • Use stockFeatures only as a temporary parity aid and record an explicit-feature follow-up.
  • Remove getCoreRowModel() unless supplying a deliberate custom coreRowModel slot.
  • Move all remaining get*RowModel() options (or a removed rowModels: {...} object, if present) to create*RowModel() feature slots.
  • Register each dependent feature before its row-model slot.
  • Move filterFns, sortingFns/sortFns, and aggregationFns into feature slots, registering individually imported built-ins; pass no registries to factories.
  • Register rowAggregationFeature independently and migrate custom aggregation callables to context-based AggregationFnDef definitions.
  • Register columnFilteringFeature before global filtering and filter/facet dependencies.
  • Register columnSizingFeature before columnResizingFeature.
  • Replace table.getState() and top-level onStateChange according to the adapter state guide.
  • Verify every controlled slice has an update path; verify externally owned atoms are reset by their owner.
  • Audit destructured, spread, serialized, or bare-callback instance methods.
  • Replace every column-pinning left/right key, argument, comparison, method family, and sticky CSS declaration with logical start/end equivalents.
  • Split table-level enablePinning; preserve column-def enablePinning where intended.
  • Split sizing/resizing features and rename the resizing state, setter, and callback.
  • Replace every sortingFn/SortingFn/sortingFns spelling with its v9 sort* spelling.
  • Remove every consumed underscore-prefixed internal API.
  • Recheck indeterminate selection logic against the new "at least one" semantics.
  • Add TFeatures to unavoidable explicit core types, helpers, and retained meta augmentation; otherwise restore inference.
  • Replace function-registry and filter-meta declaratio
자주 묻는 질문

마이그레이션 전에 테스트를 먼저 작성해야 하나요?

네. 이 스킬은 테이블을 바꾸기 전에 기존 테이블의 테스트가 통과하도록 먼저 만들라고 설명합니다.

useLegacyTable을 장기적으로 쓰는 것이 좋은가요?

아닙니다. 이 스킬은 점진적 마이그레이션을 위한 지원 중단된 React 전용 연결 장치일 뿐, 목표 설정이 아니라고 설명합니다.

어떤 프레임워크에 마이그레이션 가이드가 있나요?

React, Preact, Solid, Svelte, Vue, Angular, Lit 가이드가 있습니다. Alpine, Ember, Octane에는 v8 마이그레이션 가이드가 없습니다.

상세 정보

작성자의 원본 설명

Audit and migrate Table v8 to v9. Inventory affected APIs, follow the shared checklist, and read only the required architecture, state, feature, and TypeScript mappings.

repo: TanStack/table

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬