Zum Inhalt springen
Skillpedia
Websites & UI (Frontend)29k · #9834

core

Was er macht

Dieser Skill erklärt die gemeinsame Grundlage von TanStack Table, der Bibliothek, die Tabellenstatus und die Verarbeitung der Zeilen verwaltet. Er ist für Entwickler gedacht, die das Kernmodell verstehen müssen, bevor sie einen Framework-Adapter nutzen.

Wann du ihn nutzt

  • ✓Wenn du eine neue Tabelle beginnst und wissen musst, wie das Kernmodell und stabile Eingaben funktionieren.
  • ✓Wenn du prüfen musst, ob ein optionales Tabellen-Feature verfügbar ist, bevor du es nutzt.
  • ✓Wenn du eine Integration schreibst, die kein bestimmtes Framework nutzt.

Link zum Skill

https://github.com/TanStack/table/blob/main/packages/table-core/skills/core/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/TanStack/table/blob/main/packages/table-core/skills/core/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Bevor ich meine Tabelle baue: Kannst du erklären, wie TanStack Table v9 Daten und Spalten behandelt?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Er erklärt, dass die Bibliothek Status und Zeilenverarbeitung koordiniert, während dein Code das Markup steuert, und gibt ein minimales Beispiel, das eine Tabelle baut und ihre Zeilen liest.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

TanStack Table core

TanStack Table coordinates state and row processing. The renderer owns markup, styles, semantics, and interaction accessibility. Use the installed framework adapter in UI code; use constructTable for framework-neutral integrations.

Minimal setup

<!-- skill-snippet:check -->
import {
  constructTable,
  createColumnHelper,
  tableFeatures,
} from '@tanstack/table-core'
import { storeReactivityBindings } from '@tanstack/table-core/store-reactivity-bindings'

type Person = { id: string; name: string }
const features = tableFeatures({
  coreReactivityFeature: storeReactivityBindings(),
})
const helper = createColumnHelper<typeof features, Person>()
const columns = helper.columns([helper.accessor('name', { header: 'Name' })])
const data: Person[] = [{ id: '1', name: 'Ada' }]
const table = constructTable({
  features,
  columns,
  data,
  getRowId: (row) => row.id,
})

for (const row of table.getRowModel().rows) {
  console.log(row.getAllCells().map((cell) => cell.getValue()))
}

Essential constraints

  • The core row model is automatic. Optional APIs and state exist only after their feature is registered.
  • Keep features, data, and columns stable between meaningful changes. Derive changing arrays with the adapter's memo/computed mechanism; an inline .map(), .filter(), column factory, or fresh [] fallback invalidates model work and can cause render loops.
  • Let createColumnHelper and helper.columns() preserve accessor value types. Derive feature types from the concrete registry when an explicit boundary is needed.
  • Call row, cell, column, and header methods on their instance. Use row.getValue('name') or a callback that calls it; extracting const { getValue } = row loses its this receiver.
  • Render the final table.getRowModel().rows. The table object itself is not a DOM component.

Read for the current task

Task Read
Add or repair optional features, processing slots, or prerequisites Feature architecture, then its relevant feature reference
Choose state ownership, initialize or reset state Shared state
Fix ColumnDef inference, reusable options, or scoped meta TypeScript inference
Diagnose a missing export, option, state slice, or instance method API discovery
Implement row numbers, identity, or display-index behavior Rows
Author behavior beyond built-ins or typed meta Custom features
Migrate an existing v8 table Migration audit

For framework construction and rendering, load the installed package's getting-started skill with intent load <package>#getting-started, replacing <package> with the actual adapter package, such as @tanstack/react-table. For reactive reads or controlled wiring, load that package's table-state skill directly.

Installed API discovery

Start at node_modules/@tanstack/table-core/dist/index.d.ts and follow exported declarations. Adapter declaration layouts and missing-API diagnosis are in API discovery; read it when the expected export or declaration path is absent.

Häufige Fragen

Warum müssen Daten und Spalten stabil bleiben?

Der Skill sagt, dass ihre Änderung bei jedem Rendern die Arbeit am Modell ungültig macht. Veränderliche Arrays sollten deshalb über den Memo- oder Computed-Mechanismus des Adapters abgeleitet werden.

Zeichnet die Bibliothek die Tabelle für mich?

Nein. Der Skill sagt, der Renderer besitzt Markup, Stile und Semantik, während die Bibliothek Status und Zeilen verwaltet.

Sind alle Tabellen-Features standardmäßig aktiv?

Nein. Optionale APIs und Status existieren erst, nachdem ihr Feature registriert wurde.

Details

Originalbeschreibung des Autors

Use TanStack Table v9 core architecture, stable data and columns, and inferred types. Route setup, missing APIs, row models, state, features, and framework-specific work.

repo: TanStack/table

Beliebtheit

GitHub-Sterne
29k
Platz im Ranking
#9834
Lizenz
MIT
Aktualisiert
21.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills