Przejdź do głównej treści
Ta treść nie jest jeszcze dostępna w Twoim języku i jest wyświetlana po angielsku.

Next.js Server Component Navigation Pattern

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

Podsumowanie 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.

Instalacja

npx skills add wsimmonds/claude-nextjs-skills

Uruchamia Vercel skills CLI (skills.sh) przez npx — wymaga lokalnego Node.js oraz co najmniej jednego zainstalowanego agenta zgodnego ze skills (Claude Code, Cursor, Codex, …). Zakłada, że repozytorium jest zgodne z formatem agentskills.io.

6 months ago
90 stars
MIT
Zaktualizowano about 15 hours ago
Zobacz kod źródłowy