Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Next.js Server Component Navigation Pattern

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

KI-Zusammenfassung

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.

Installation

npx skills add wsimmonds/claude-nextjs-skills

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

7 months ago
90 stars
MIT
Aktualisiert 2 days ago
Quellcode ansehen