Pular para o conteúdo
Skillpedia
Sites e telas (frontend)29 mil · #9842

migrate-v8-to-v9

O que ela faz

Esta habilidade orienta a atualização de um projeto Vue do TanStack Table versão 8 para a versão 9. Serve para desenvolvedores que querem uma lista de verificação dos hooks, do estado e do código de renderização alterados.

Quando usar

  • ✓Quando seu aplicativo Vue ainda usa a função useVueTable mais antiga e precisa de atualização.
  • ✓Quando você está atualizando um projeto Vue, que exige o Vue 3.2 ou superior para a Table v9.
  • ✓Quando o estado ou a renderização da tabela quebram depois que você migra para a Table v9.

Link da skill

https://github.com/TanStack/table/blob/main/packages/vue-table/skills/migrate-v8-to-v9/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/TanStack/table/blob/main/packages/vue-table/skills/migrate-v8-to-v9/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Meu aplicativo Vue usa o TanStack Table v8. Você pode me ajudar a atualizá-lo para a v9?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

Ela oferece uma lista de verificação de auditoria do código alterado, como trocar useVueTable por useTable, e aponta para notas detalhadas de cada mudança.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

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

Framework prerequisite: Vue 3.2 or newer (vue >=3.2).

Adapter audit

  • Replace useVueTable with useTable and preserve ref/computed/getter inputs.
  • Keep features and columns stable, configure explicit features/row-model slots, and complete the shared core checklist.
  • Replace getState() with tracked atom reads or intentional whole-store reads. Use computed for derived template values.
  • Pair controlled reactive values with callbacks that resolve both updater forms, or supply stable Vue Store atoms. Remove global onStateChange.
  • Replace deprecated table.Subscribe calls with native reactive reads. Use a child component when you need to preserve a separate component render boundary.
  • Adopt FlexRender cell/header/footer shorthand; the old render/props shape remains supported.
  • Use tableOptions or createTableHook only for repeated conventions and explicit context-hook export types when needed to break circular inference.

Load the affected details

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

Perguntas frequentes

Qual versão do Vue é necessária?

A habilidade diz que o Vue 3.2 ou superior é necessário para a Table v9.

O que acontece com a opção global onStateChange?

A habilidade diz para removê-la e parear os valores controlados com callbacks que aceitam as duas formas de atualização.

Isso cobre todas as mudanças da biblioteca?

Não. Cobre as mudanças específicas do Vue e aponta para a lista de verificação principal compartilhada para o restante.

Detalhes

Descrição original do autor

Migrate vue Table v8 to v9. Audit framework construction, rendering, state, and app hooks, with shared API changes in the core migration skill.

repo: TanStack/table

Popularidade

Estrelas no GitHub
29 mil
Posição no ranking
#9842
Licença
MIT
Atualizada em
21/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas