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

devtools

यह क्या करती है

यह स्किल समझाती है कि TanStack Table instances को Devtools पैनल से कैसे जोड़ें, ताकि डेवलपर उनके options, स्थिति और पंक्तियाँ देख सकें। इसमें वह सामान्य रजिस्ट्रेशन चरण शामिल है जो सभी फ़्रेमवर्क में इस्तेमाल होता है।

कब इस्तेमाल करें

  • ✓जब कोई टेबल devtools पैनल में न दिखे और आपको कनेक्शन ठीक करना हो।
  • ✓जब आप समर्थित फ़्रेमवर्क में विकास करते हुए टेबल की स्थिति और पंक्तियाँ जांचना चाहें।
  • ✓जब आप चाहें कि devtools सिर्फ़ development बिल्ड तक सीमित रहें।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

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

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

AI से क्या माँगें: उदाहरण

“मैं अपनी TanStack टेबल को devtools में कैसे रजिस्टर करूँ ताकि उसकी पंक्तियाँ और स्थिति दिखें?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह समझाती है कि हर टेबल को अनोखी key चाहिए, framework hooks रजिस्ट्रेशन आपके लिए संभालते हैं, और डिफ़ॉल्ट devtools entry points development के बाहर कुछ नहीं करते।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Setup

Framework adapters should use their lifecycle hook or injector. The framework-neutral registration primitive is:

import { constructTable, tableFeatures } from '@tanstack/table-core'
import { storeReactivityBindings } from '@tanstack/table-core/store-reactivity-bindings'
import { upsertTableDevtoolsTarget } from '@tanstack/table-devtools'

const features = tableFeatures({
  coreReactivityFeature: storeReactivityBindings(),
})

const table = constructTable({
  key: 'users-table',
  features,
  columns: [],
  data: [],
})

const cleanup = upsertTableDevtoolsTarget({ table })
cleanup()

Core Patterns

Give every live table a descriptive unique key

The non-empty options.key is both registry identity and panel label. Use stable application identity, not an array index.

Let adapter lifecycles own registration

React/Preact/Solid/Vue hooks and the Angular injector register and clean up at the correct time. Use core target functions only for unsupported frameworks or infrastructure code.

Keep ordinary Devtools development-only

Default entrypoints export no-op panels/plugins outside development. Use /production only when the application explicitly chooses production inspection and its security/bundle implications.

Common Mistakes

HIGH Missing key skips registration

Wrong: register a table whose options.key is absent or whitespace.

Correct: set a stable value such as key: 'billing-invoices' before registration.

The registry logs the missing-key error and returns without adding a target.

Source: TanStack/table:packages/table-devtools/src/tableTarget.ts

HIGH Two tables share one key

Wrong: use key: 'table' for simultaneous tables.

Correct: use unique domain identities such as users-table and orders-table.

Upserting a different table under an existing key replaces that registration.

Source: TanStack/table:packages/table-devtools/src/tableTarget.ts

MEDIUM Production panel expected by default

Wrong: debug why the normal entrypoint renders nothing in production.

Correct: keep Devtools development-only unless production inspection was explicitly requested; then import the documented /production entrypoint.

Default production exports intentionally use no-op implementations.

Source: TanStack/table:docs/devtools.md

API Discovery

Inspect node_modules/@tanstack/table-devtools/dist/index.d.ts, tableTarget.d.ts, and production.d.ts. Framework registration belongs to the matching @tanstack/<framework>-table-devtools package.

अक्सर पूछे जाने वाले सवाल

मेरी टेबल क्यों नहीं दिखती?

स्किल कहती है कि key न हो या खाली हो तो टेबल छोड़ दी जाती है, इसलिए हर टेबल को अनोखी key चाहिए।

क्या मैं production में devtools इस्तेमाल कर सकता हूँ?

सिर्फ़ तब, जब आप साफ़ तौर पर production entry point चुनें, जिसके सुरक्षा और bundle पर असर हैं।

क्या मुझे रजिस्ट्रेशन फ़ंक्शन खुद बुलाना होगा?

आम तौर पर नहीं। framework hooks या injectors रजिस्ट्रेशन और सफ़ाई संभालते हैं, और कच्चा फ़ंक्शन असमर्थित फ़्रेमवर्क के लिए है।

जानकारी

लेखक का मूल विवरण

Register TanStack Table targets and inspect options, state, features, columns, rows, and row models with @tanstack/table-devtools. Load for missing connections, required unique table options.key, target replacement/cleanup, or an explicit request for production Devtools entrypoints.

repo: TanStack/table

लोकप्रियता

GitHub स्टार
29k
रैंकिंग में स्थान
#9839
लाइसेंस
MIT
अपडेट की गई
21/10/2026

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

0

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

कमेंट

  • …

इस repository की और skills

getting-started

29k

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

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

table-state

29k

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

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

devtools

29k

यह आपके एजेंट को Angular टेबल को TanStack Devtools पैनल में रजिस्टर करना सिखाती है, ताकि डेवलपर ऐप बनाते समय हर टेबल की जांच कर सकें।

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

getting-started

29k

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

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

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