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

migrate-v8-to-v9

하는 일

이 스킬은 Svelte 프로젝트를 TanStack Table 버전 8에서 버전 9로 업그레이드하는 과정을 안내합니다. 변경된 설정, 상태, 렌더링 코드를 점검할 체크리스트가 필요한 개발자를 위한 것입니다.

사용하는 경우

  • ✓Svelte 앱이 아직 이전 createSvelteTable 함수를 사용해 업데이트가 필요할 때.
  • ✓Svelte 컴포넌트가 3 또는 4 버전이라 Table v9 전에 Svelte 5로 옮겨야 할 때.
  • ✓Table v9로 옮긴 뒤 테이블 상태나 렌더링이 깨질 때.

스킬 링크

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

“제 Svelte 앱은 TanStack Table v8과 오래된 Svelte 컴포넌트를 사용합니다. 업그레이드를 도와주시겠어요?”

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

작동 방식

Svelte 5 전환, createTable 설정, 렌더링 변경을 다루는 체크리스트를 제공하며, 각 변경 사항에 대한 자세한 참고 자료 링크도 포함합니다.

기술 내용 (원본 SKILL.md)

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

Svelte 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 Svelte-specific changes.

Framework prerequisite: Svelte 5 (svelte ^5.0.0); migrate Svelte 3/4 components before Table.

Adapter audit

  • Upgrade to Svelte 5 and replace old writable-store table setup with runes/getters.
  • Replace createSvelteTable with createTable; preserve changing data and controlled slices through getters.
  • Configure explicit features/row-model slots and complete the shared core checklist.
  • Remove creation selectors, selected table.state, subscribeTable, and SubscribeSource from earlier v9 code.
  • Update SvelteTable to two generic parameters and AppSvelteTable to five; remove selected-state generics from useTableContext.
  • Read atoms/store in templates or tracked runes. Use per-slice updater callbacks, createTableState, or external Svelte Store atoms instead of global onStateChange.
  • Render with FlexRender, renderComponent, or renderSnippet. Use the shipped rune-aware createTableHook only for repeated conventions.

Load the affected details

When the audit finds old Svelte 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 createSvelteTable 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/svelte-table/dist/index.d.ts and the exported adapter declarations. Use node_modules/@tanstack/table-core/dist/index.d.ts for shared APIs.

자주 묻는 질문

Svelte를 먼저 업그레이드해야 하나요?

네. 이 스킬은 Svelte 5가 필요하므로 Svelte 3 또는 4 컴포넌트를 먼저 옮겨야 한다고 설명합니다.

기존 writable 스토어 설정은 무엇으로 바뀌나요?

이 스킬은 룬과 getter를 사용하라고 설명합니다.

모든 라이브러리 변경을 다루나요?

아닙니다. Svelte 관련 변경만 다루며, 나머지는 공통 핵심 체크리스트를 참고하도록 안내합니다.

상세 정보

작성자의 원본 설명

Migrate svelte 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
순위
#9832
라이선스
MIT
업데이트
2026. 10. 21.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬