devtools
What it does
This skill shows how to register Angular tables with the TanStack Devtools panel, so developers can see them while debugging. It covers setup, required keys and cleanup.
When to use it
- ✓When you want to inspect an Angular table's state while the app runs in development.
- ✓When the devtools panel does not show a table and you need to check its registration.
- ✓When you want the devtools to stay limited to development builds.
Skill link
https://github.com/TanStack/table/blob/main/packages/angular-table-devtools/skills/devtools/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“How do I make my Angular table show up in the TanStack devtools panel while I develop?”
5 new skills a week. 1 minute to read.
How it works
It explains how to call the registration helper inside an Angular component, give each table a unique key and turn the registration on or off.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
This skill builds on @tanstack/table-core#core and @tanstack/table-devtools#devtools.
Setup
import { Component } from '@angular/core'
import { injectTable, tableFeatures } from '@tanstack/angular-table'
import { injectTanStackTableDevtools } from '@tanstack/angular-table-devtools'
const features = tableFeatures({})
const columns = [{ accessorKey: 'id' }]
const data: Array<{ id: string }> = []
@Component({ selector: 'users-table', template: 'Users table registered' })
export class UsersTable {
readonly table = injectTable(() => ({
key: 'users-table',
features,
columns,
data,
}))
constructor() {
injectTanStackTableDevtools(() => ({ table: this.table }))
}
}
Provide the Angular TanStack Devtools host once at application configuration level as documented in docs/devtools.md.
Hooks and Components
The injector options function may return table: undefined or an enabled function to remove/disable registration reactively.
Common Mistakes
CRITICAL Injector called outside context
Wrong: call injectTanStackTableDevtools from an arbitrary callback after bootstrap.
Correct: call it in a component/service field initializer or constructor injection context.
The adapter uses Angular injection and effects for lifecycle cleanup.
Source: TanStack/table:packages/angular-table-devtools/src/injectTanStackTableDevtools.ts
HIGH Missing table key
Wrong: register an otherwise valid table without options.key.
Correct: assign a stable unique key before injection registration.
Core registration logs an error and skips keyless targets.
Source: TanStack/table:packages/table-devtools/src/tableTarget.ts
MEDIUM isDevMode no-op misunderstood
Wrong: expect default Angular exports to render production Devtools.
Correct: keep standard setup development-only; use /production only when explicitly requested.
The package index switches exports using Angular isDevMode().
Source: TanStack/table:packages/angular-table-devtools/src/index.ts
API Discovery
Inspect node_modules/@tanstack/angular-table-devtools/dist/index.d.ts and injectTanStackTableDevtools.d.ts for current injection options.
FAQ
Where must the registration code go?
It must run inside an Angular injection context, such as a component field or the constructor.
Why does each table need a key?
The options require a key so that each table can be identified in the devtools panel.
Does the app need any extra setup?
Yes. The devtools host must be provided once at the application configuration level, as the docs describe.
Details
Original description by the author
Register Angular Table v9 instances with injectTanStackTableDevtools inside injection context. Load for reactive table registration, required options.key, enabled or undefined tables, cleanup, Angular isDevMode gating, or explicit production exports.
repo: TanStack/table
Popularity
- GitHub stars
- 29k
- Ranking position
- #9807
- License
- MIT
- Updated
- 10/21/2026
Comments
- …
More skills from this repository
getting-started
29kTeaches your agent how to build and show a data table with TanStack Table in Alpine.js, covering setup, reactive data and rendering rows.
table-state
29kTeaches your agent how to read and control table state in Alpine.js, such as the current page, so the screen updates when that state changes.
getting-started
29kTeaches your agent how to create and show a TanStack table in Angular, covering the injectTable setup, template rendering and updates to row data.
migrate-v8-to-v9
29kHelps your agent move an Angular table from TanStack Table v8 to v9, checking setup, rendering, state and hooks against a migration checklist.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.