الانتقال إلى المحتوى الرئيسي
هذا المحتوى غير متوفر بعد بلغتك ويتم عرضه باللغة الإنجليزية.

Next.js Server Component Navigation Pattern

Skill تم التحقق
98

Guide for implementing navigation in Next.js Server Components using Link component and redirect() function. Covers the difference between server and client navigation methods. Use when adding links, redirects, or navigation logic in server components without converting them to client components unnecessarily.

ملخص الذكاء الاصطناعي

This skill focuses on guiding users through the correct implementation of navigation patterns within Next.js Server Components. It covers the use of the `<Link>` component, the `redirect()` function, and Server Actions, differentiating them from client-side navigation methods and providing practical code examples.

التثبيت

npx skills add wsimmonds/claude-nextjs-skills

يشغّل Vercel skills CLI ‏(skills.sh) عبر npx — يتطلب وجود Node.js محليًا ووكيلًا واحدًا على الأقل متوافقًا مع skills (مثل Claude Code أو Cursor أو Codex). يفترض أن المستودع يتبع تنسيق agentskills.io.

7 months ago
90 stars
MIT
تم التحديث في 2 days ago
عرض الكود المصدري