migrate-v8-to-v9
यह क्या करती है
यह स्किल Preact प्रोजेक्ट को TanStack Table संस्करण 8 से 9 पर अपग्रेड करने में मार्गदर्शन करती है। यह उन डेवलपरों के लिए है जिन्हें बदले हुए कोड की साफ़ जांच सूची चाहिए।
कब इस्तेमाल करें
- ✓जब आपका Preact ऐप अब भी पुराना React-शैली टेबल hook आयात करता है और उसे अपडेट करना है।
- ✓जब आप Preact प्रोजेक्ट अपग्रेड कर रहे हों, जिसे Table v9 के लिए Preact 10 या नया चाहिए।
- ✓जब Table v9 पर जाने के बाद टेबल की स्थिति या रेंडरिंग टूट जाए।
Skill का लिंक
https://github.com/TanStack/table/blob/main/packages/preact-table/skills/migrate-v8-to-v9/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा Preact ऐप TanStack Table v8 इस्तेमाल करता है। क्या आप मुझे उसे v9 पर अपग्रेड करने में मदद कर सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह बदले हुए कोड की ऑडिट जांच सूची देती है और हर बदलाव के विस्तृत संदर्भ नोट्स की ओर इशारा करती है, ताकि ज़रूरी चरण न छूटें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Preact v8-to-v9 migration checklist
Before starting, run intent load @tanstack/table-core#migrate-v8-to-v9. Audit its entire shared checklist and read the detailed core mappings for APIs present in the application. This checklist adds the Preact-specific changes.
Framework prerequisite: Preact 10 or newer (preact >=10).
Adapter audit
- Replace React-adapter imports and
useReactTablewith native@tanstack/preact-tableanduseTable. - Remove compat aliases that existed only for Table. Preserve aliases still required by other libraries, including a React Virtual integration.
- Keep model inputs stable and configure explicit features/row-model slots; complete the shared core checklist.
- Use selected
table.state,table.Subscribe, or Preact Store subscriptions; snapshots alone do not rerender consumers. - Pair controlled slices with callbacks, or supply stable atoms from
@tanstack/preact-store; remove globalonStateChange. - Use native Preact FlexRender components. Adopt
tableOptionsorcreateTableHookonly for repeated app conventions.
Load the affected details
When the audit finds old Preact construction, state, rendering, or app-hook code, read adapter migration details before editing it. For a replacement render scaffold, read getting started. For controlled or stale state after migration, read table state.
Shared pinning, sizing, sorting, selection, prototype-method, type, and registry changes stay in the core migration references. Renaming useReactTable alone does not complete the migration.
Verify the migration
- Type-check against the installed v9 adapter and exercise every enabled client/manual feature flow.
- Verify external state writes, reactive data replacement, and the framework rendering paths changed above.
- Complete the core checklist, including layout and selection behavior when those features are used.
- Replace temporary
stockFeatureswhen the target is explicit feature tree-shaking.
API discovery
Inspect node_modules/@tanstack/preact-table/dist/index.d.ts and the exported adapter declarations. Use node_modules/@tanstack/table-core/dist/index.d.ts for shared APIs.
अक्सर पूछे जाने वाले सवाल
कौन सा Preact संस्करण चाहिए?
स्किल कहती है कि Table v9 के लिए Preact 10 या नया संस्करण ज़रूरी है।
क्या यह पुराना compatibility कोड हटाती है?
यह कहती है कि सिर्फ़ टेबल के लिए बने aliases हटाएँ, लेकिन वे रखें जो दूसरी लाइब्रेरी अब भी चाहती हैं।
क्या यह जांच सूची हर बदलाव कवर करती है?
नहीं। यह Preact-विशिष्ट बदलाव कवर करती है और आपको साझा core माइग्रेशन जांच सूची भी फ़ॉलो करने को कहती है।
जानकारी
लेखक का मूल विवरण
Migrate preact 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
- रैंकिंग में स्थान
- #9821
- लाइसेंस
- MIT
- अपडेट की गई
- 21/10/2026
कमेंट
- …
इस repository की और skills
getting-started
29kयह आपके एजेंट को Alpine.js में TanStack Table से डेटा टेबल बनाना और दिखाना सिखाती है, जिसमें सेटअप, रिएक्टिव डेटा और पंक्तियाँ दिखाना शामिल है।
table-state
29kयह आपके एजेंट को Alpine.js में टेबल की स्थिति, जैसे मौजूदा पेज, पढ़ना और नियंत्रित करना सिखाती है, ताकि वह स्थिति बदलने पर स्क्रीन अपडेट हो।
devtools
29kयह आपके एजेंट को Angular टेबल को TanStack Devtools पैनल में रजिस्टर करना सिखाती है, ताकि डेवलपर ऐप बनाते समय हर टेबल की जांच कर सकें।
getting-started
29kयह आपके एजेंट को Angular में TanStack टेबल बनाना और दिखाना सिखाती है, जिसमें injectTable सेटअप, टेम्प्लेट रेंडरिंग और पंक्ति डेटा के अपडेट शामिल हैं।
मिलती-जुलती 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 फॉलो करवाता है।