devtools
यह क्या करती है
यह स्किल दिखाती है कि Angular टेबल को TanStack Devtools पैनल में कैसे रजिस्टर करें, ताकि डेवलपर डीबग करते समय उन्हें देख सकें। इसमें सेटअप, ज़रूरी keys और सफ़ाई शामिल है।
कब इस्तेमाल करें
- ✓जब आप विकास मोड में चल रहे ऐप में Angular टेबल की स्थिति देखना चाहें।
- ✓जब devtools पैनल कोई टेबल न दिखाए और आपको उसका रजिस्ट्रेशन जांचना हो।
- ✓जब आप चाहें कि devtools सिर्फ़ development बिल्ड तक सीमित रहें।
Skill का लिंक
https://github.com/TanStack/table/blob/main/packages/angular-table-devtools/skills/devtools/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“विकास के दौरान मेरी Angular टेबल TanStack devtools पैनल में कैसे दिखे?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह समझाती है कि Angular component के अंदर रजिस्ट्रेशन helper कैसे बुलाएँ, हर टेबल को एक अनोखी key दें, और रजिस्ट्रेशन चालू या बंद करें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.
अक्सर पूछे जाने वाले सवाल
रजिस्ट्रेशन कोड कहाँ जाना चाहिए?
वह Angular injection context के अंदर चलना चाहिए, जैसे component फ़ील्ड या constructor में।
हर टेबल को key क्यों चाहिए?
विकल्पों में key ज़रूरी है, ताकि devtools पैनल में हर टेबल की पहचान हो सके।
क्या ऐप को अतिरिक्त सेटअप चाहिए?
हाँ। devtools host को application configuration स्तर पर एक बार उपलब्ध कराना होगा, जैसा दस्तावेज़ में लिखा है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 29k
- रैंकिंग में स्थान
- #9807
- लाइसेंस
- MIT
- अपडेट की गई
- 21/10/2026
कमेंट
- …
इस repository की और skills
getting-started
29kयह आपके एजेंट को Alpine.js में TanStack Table से डेटा टेबल बनाना और दिखाना सिखाती है, जिसमें सेटअप, रिएक्टिव डेटा और पंक्तियाँ दिखाना शामिल है।
table-state
29kयह आपके एजेंट को Alpine.js में टेबल की स्थिति, जैसे मौजूदा पेज, पढ़ना और नियंत्रित करना सिखाती है, ताकि वह स्थिति बदलने पर स्क्रीन अपडेट हो।
getting-started
29kयह आपके एजेंट को Angular में TanStack टेबल बनाना और दिखाना सिखाती है, जिसमें injectTable सेटअप, टेम्प्लेट रेंडरिंग और पंक्ति डेटा के अपडेट शामिल हैं।
migrate-v8-to-v9
29kयह आपके एजेंट को Angular टेबल को TanStack Table v8 से v9 पर ले जाने में मदद करती है, सेटअप, रेंडरिंग, स्थिति और hooks को माइग्रेशन जांच सूची से मिलाकर।
मिलती-जुलती skills
angular-developer
280kआपके एजेंट को Angular code बनाने और प्रोजेक्ट स्ट्रक्चर पर सलाह देने में मदद करता है। नए प्रोजेक्ट शुरू करने, code के हिस्से बनाने, या performance और accessibility सुधारने में उपयोगी है।
frontend-a11y
280kआपके एजेंट को web interfaces को सबके लिए accessible बनाने में मदद करता है। यह सुनिश्चित करता है कि websites और apps screen readers और keyboard navigation के साथ अच्छे से काम करें।
frontend-patterns
280kआपके एजेंट को React और Next.js में frontend development के modern patterns लागू करने में मदद करता है। यह performance optimize करता है, state manage करता है और best practices फॉलो करवाता है।