Lewati ke konten utama
Konten ini belum tersedia dalam bahasa Anda dan ditampilkan dalam bahasa Inggris.

Next.js Server Component Navigation Pattern

Skill Terverifikasi
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.

Ringkasan AI

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.

Instalasi

npx skills add wsimmonds/claude-nextjs-skills

Menjalankan Vercel skills CLI (skills.sh) via npx — memerlukan Node.js secara lokal dan setidaknya satu agen yang kompatibel dengan skills terinstal (Claude Code, Cursor, Codex, …). Mengasumsikan repo mengikuti format agentskills.io.

7 months ago
90 stars
MIT
Diperbarui 2 days ago
Lihat sumber