Перейти до основного вмісту
Цей вміст ще не доступний вашою мовою і відображається англійською.

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.

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.

Встановлення

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
Оновлено 4 days ago
Переглянути код