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

migrate-v8-to-v9

하는 일

이 스킬은 Lit 프로젝트를 TanStack Table 8버전에서 9버전으로 업그레이드하는 과정을 안내합니다. 바뀐 각 부분의 체크리스트가 필요한 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Lit 앱이 아직 v8 표 컨트롤러를 쓰고 있어 업데이트가 필요할 때.
  • ✓Table v9와 필요한 Lit 버전을 위해 Lit 프로젝트를 준비할 때.
  • ✓v9로 업그레이드한 뒤 표 렌더링이나 상태가 깨질 때.

스킬 링크

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

“Lit 표 코드를 TanStack Table v8에서 v9로 업그레이드하는 것을 도와주실 수 있나요?”

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

작동 방식

렌더링 중 새로운 표 호출로 바꾸는 등 바뀐 내용의 체크리스트를 제공하고, 각 변경에 대한 자세한 메모로 연결합니다.

기술 내용 (원본 SKILL.md)

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

Load intent load @tanstack/table-core#migrate-v8-to-v9 first and audit its entire shared checklist. It owns feature registration, row-model slots, state/reset changes, prototype methods, logical pinning, sizing/resizing, sorting, selection, helpers, and TypeScript mappings.

Framework prerequisites

Lit 3.1.3 or newer within v3 (lit ^3.1.3) and @lit/context ^1.1.0 are required.

Lit migration checklist

  • Construct one TableController<typeof features, TData>(this) as a stable host field.
  • Replace the v8 controller.table property/options thunk with controller.table(options, selector?) during render.
  • Read selected table.state for rendering; use atom snapshots in handlers or stable table.subscribe selectors for template regions.
  • Feed resolved controlled callbacks back through reactive Lit properties, or use stable external atoms.
  • Switch render helpers to FlexRender({ cell }), FlexRender({ header }), or FlexRender({ footer }) and preserve instance-method receivers.
  • If app conventions repeat, construct a host-bound useAppTable once and call its .table() during render.

Apply the affected mappings

Read adapter-migration when changing construction, rendering, state, or app hooks. Read the relevant core migration references for each affected shared API; this adapter checklist does not replace that audit.

For complete v9 construction examples, read getting-started. For reactive state repairs, read table-state.

Final checks

  • All shared core migration checks and affected mappings have been applied.
  • The framework checklist above passes with the current adapter declarations.
  • Model inputs remain stable and state changes reach their reactive owner.

API discovery

Inspect node_modules/@tanstack/lit-table/dist/index.d.ts, then TableController.d.ts, flexRender.d.ts, or the relevant exported declaration. Core feature APIs are in node_modules/@tanstack/table-core/dist/features/.

자주 묻는 질문

어떤 Lit 버전이 필요한가요?

Lit 3 버전 중 3.1.3 이상과 @lit/context 1.1.0 이상을 명시합니다.

핵심 마이그레이션 가이드를 대체하나요?

아니요, Lit 전용 변경을 다루며, 공유 API 변경은 핵심 가이드를 가리킵니다.

렌더링 도우미가 오래되었다면 어떻게 하나요?

셀, 헤더, 푸터와 함께 FlexRender로 바꾸라고 이 스킬은 설명합니다.

상세 정보

작성자의 원본 설명

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬