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

migrate-v8-to-v9

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

यह स्किल Lit प्रोजेक्ट को TanStack Table संस्करण 8 से 9 पर अपग्रेड करने में मार्गदर्शन करती है। यह उन डेवलपरों के लिए है जिन्हें कोड के हर बदले हुए हिस्से की जांच सूची चाहिए।

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

  • ✓जब आपका Lit ऐप अब भी v8 टेबल controller इस्तेमाल करता है और उसे अपडेट करना है।
  • ✓जब आप Lit प्रोजेक्ट को TanStack Table v9 और उसके ज़रूरी Lit संस्करण के लिए तैयार कर रहे हों।
  • ✓जब Table v9 पर अपग्रेड के बाद रेंडरिंग या स्थिति टूट जाए।

Skill का लिंक

https://github.com/TanStack/table/blob/main/packages/lit-table/skills/migrate-v8-to-v9/SKILL.md

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

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

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

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

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

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

“क्या आप मेरे Lit टेबल कोड को TanStack Table v8 से v9 पर अपग्रेड करने में मदद कर सकते हैं?”

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

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

यह बदलावों की जांच सूची देती है, जैसे रेंडर के दौरान नई टेबल कॉल पर जाना, और हर बदलाव के विस्तृत नोट्स से जोड़ती है।

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

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

Load intent load @tanstack/table-core#migrate-v8-to-v9 first and audit its entire shared checklist. It owns feature registration, row-model slots, state/reset changes, prototype methods, logical pinning, sizing/resizing, sorting, selection, helpers, and TypeScript mappings.

Framework prerequisites

Lit 3.1.3 or newer within v3 (lit ^3.1.3) and @lit/context ^1.1.0 are required.

Lit migration checklist

  • Construct one TableController<typeof features, TData>(this) as a stable host field.
  • Replace the v8 controller.table property/options thunk with controller.table(options, selector?) during render.
  • Read selected table.state for rendering; use atom snapshots in handlers or stable table.subscribe selectors for template regions.
  • Feed resolved controlled callbacks back through reactive Lit properties, or use stable external atoms.
  • Switch render helpers to FlexRender({ cell }), FlexRender({ header }), or FlexRender({ footer }) and preserve instance-method receivers.
  • If app conventions repeat, construct a host-bound useAppTable once and call its .table() during render.

Apply the affected mappings

Read adapter-migration when changing construction, rendering, state, or app hooks. Read the relevant core migration references for each affected shared API; this adapter checklist does not replace that audit.

For complete v9 construction examples, read getting-started. For reactive state repairs, read table-state.

Final checks

  • All shared core migration checks and affected mappings have been applied.
  • The framework checklist above passes with the current adapter declarations.
  • Model inputs remain stable and state changes reach their reactive owner.

API discovery

Inspect node_modules/@tanstack/lit-table/dist/index.d.ts, then TableController.d.ts, flexRender.d.ts, or the relevant exported declaration. Core feature APIs are in node_modules/@tanstack/table-core/dist/features/.

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

कौन सा Lit संस्करण चाहिए?

स्किल संस्करण 3 के भीतर Lit 3.1.3 या नया, साथ में @lit/context 1.1.0 या नया, सूचीबद्ध करती है।

क्या यह core माइग्रेशन गाइड की जगह लेती है?

नहीं। यह Lit-विशिष्ट बदलाव कवर करती है और साझा API बदलावों के लिए core गाइड की ओर इशारा करती है।

अगर मेरे render helpers पुराने हों तो?

स्किल कहती है कि उन्हें cell, header या footer के साथ FlexRender पर बदलें।

जानकारी

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

Migrate lit Table v8 to v9. Audit framework construction, rendering, state, and app hooks, with shared API changes in the core migration skill.

repo: TanStack/table

लोकप्रियता

GitHub स्टार
29k
रैंकिंग में स्थान
#9814
लाइसेंस
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