Pular para o conteúdo principal
Este conteúdo ainda não está disponível no seu idioma e está sendo exibido em inglês.

Next.js Server Component Navigation Pattern

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

Resumo de IA

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.

Instalação

npx skills add wsimmonds/claude-nextjs-skills

Executa a CLI skills da Vercel (skills.sh) via npx — requer Node.js localmente e pelo menos um agente compatível com skills instalado (Claude Code, Cursor, Codex, …). Pressupõe que o repositório siga o formato agentskills.io.

7 months ago
90 stars
MIT
Atualizado em 1 day ago
Ver código-fonte