Frontend & UISûr100100/100
Devtools (TanStack) — Preact Table Devtools
Connect native Preact Table v9 instances to Devtools with tableDevtoolsPlugin and useTanStackTableDevtools. Load for React-package mixups, missing targets, required options.key, enabled state, cleanup, or development gating.
ou envoie-le directement à ton agent.
Installer dans ton projet
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs devtools__tanstack-table__packages-preact-table-devtools-skills-104bb36820b5TanStack
TanStack/table
Contenu à copier
---
name: devtools
description: >
Connect native Preact Table v9 instances to Devtools with tableDevtoolsPlugin and useTanStackTableDevtools. Load for React-package mixups, missing targets, required options.key, enabled state, cleanup, or development gating.
metadata:
origin: TanStack
type: framework
library: '@tanstack/preact-table-devtools'
framework: preact
library_version: '9.3.1'
requires:
- '@tanstack/table-core#core'
- '@tanstack/table-devtools#devtools'
sources:
- 'TanStack/table:docs/devtools.md'
- 'TanStack/table:packages/preact-table-devtools/src/index.ts'
- 'TanStack/table:packages/preact-table-devtools/src/useTanStackTableDevtools.ts'
---
This skill builds on @tanstack/table-core#core and @tanstack/table-devtools#devtools.
## Setup
```tsx
import { TanStackDevtools } from '@tanstack/preact-devtools'
import { useTable, tableFeatures } from '@tanstack/preact-table'
import {
tableDevtoolsPlugin,
useTanStackTableDevtools,
} from '@tanstack/preact-table-devtools'
const features = tableFeatures({})
const columns = [{ accessorKey: 'id' }]
const data: Array<{ id: string }> = []
export function App() {
const table = useTable({
key: 'users-table',
features,
columns,
data,
})
useTanStackTableDevtools(table)
return <TanStackDevtools plugins={[tableDevtoolsPlugin()]} />
}
```
## Hooks and Components
Use the native Preact packages throughout. Pass `{ enabled }` rather than conditionally calling the registration hook.
## Common Mistakes
### HIGH React Devtools package mixed into Preact
Wrong: import the hook from `@tanstack/react-table-devtools` through compat.
Correct: use `@tanstack/preact-table-devtools` with `@tanstack/preact-devtools`.
The native adapter owns Preact effect lifecycle and plugin types.
Source: TanStack/table:docs/devtools.md
### HIGH Missing or duplicate key
Wrong: omit `key` or reuse `users-table` for multiple mounted tables.
Correct: give each live table one stable unique key.
Keyless registration is skipped; duplicate keys replace targets.
Source: TanStack/table:packages/table-devtools/src/tableTarget.ts
### MEDIUM Production no-op mistaken for failure
Wrong: expect the default entrypoint to stay active in a production bundle.
Correct: keep Devtools development-only unless an explicit production import is required.
The default index deliberately selects no-op implementations outside development.
Source: TanStack/table:packages/preact-table-devtools/src/index.ts
## API Discovery
Inspect `node_modules/@tanstack/preact-table-devtools/dist/index.d.ts` and `useTanStackTableDevtools.d.ts`; do not copy React adapter imports.Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Devtools (TanStack) — Preact Table Devtools
Applique les pratiques du skill devtools__tanstack-table__packages-preact-table-devtools-skills-104bb36820b5.
Comment utiliser Devtools (TanStack) — Preact Table Devtools
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Devtools (TanStack) — Preact Table Devtools
Dis simplement à ton agent quelque chose comme :
Applique le skill devtools__tanstack-table__packages-preact-table-devtools-skills-104bb36820b5 à cette tâche
Utilise devtools__tanstack-table__packages-preact-table-devtools-skills-104bb36820b5 pour améliorer cette implémentation
Passe en revue ce sujet avec devtools__tanstack-table__packages-preact-table-devtools-skills-104bb36820b5
Skills liés à Devtools (TanStack) — Preact Table Devtools
accessibility
Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels, accessibility traits and hints, focus management, contrast, target size, and screen-reader support. Use when building or auditing UI for accessibility compliance, keyboard navigation, or screen-reader support.Accessibility Pass (Microsoft)
Use this skill whenever the user asks to check, review, or fix the accessibility of a PowerPoint deck, Word document, HTML page, or Markdown file, and before handing over any deck or document this agent just generated, so it does not ship with missing alt text, untitled slides, or unreadable colour contrast.Add Connector (Microsoft)
Use when adding a Power Platform connector to an Expo/React Native Power Apps mobile app and no dedicated mobile connector skill exists.