मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)29k · #9807

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/TanStack/table/blob/main/packages/angular-table-devtools/skills/devtools/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

getting-started

29k

यह आपके एजेंट को Alpine.js में TanStack Table से डेटा टेबल बनाना और दिखाना सिखाती है, जिसमें सेटअप, रिएक्टिव डेटा और पंक्तियाँ दिखाना शामिल है।

कोडिंगवेबसाइट और UI (frontend)

table-state

29k

यह आपके एजेंट को Alpine.js में टेबल की स्थिति, जैसे मौजूदा पेज, पढ़ना और नियंत्रित करना सिखाती है, ताकि वह स्थिति बदलने पर स्क्रीन अपडेट हो।

कोडिंगवेबसाइट और UI (frontend)

getting-started

29k

यह आपके एजेंट को Angular में TanStack टेबल बनाना और दिखाना सिखाती है, जिसमें injectTable सेटअप, टेम्प्लेट रेंडरिंग और पंक्ति डेटा के अपडेट शामिल हैं।

कोडिंगवेबसाइट और UI (frontend)

migrate-v8-to-v9

29k

यह आपके एजेंट को Angular टेबल को TanStack Table v8 से v9 पर ले जाने में मदद करती है, सेटअप, रेंडरिंग, स्थिति और hooks को माइग्रेशन जांच सूची से मिलाकर।

कोडिंगवेबसाइट और UI (frontend)

मिलती-जुलती skills