본문으로 건너뛰기
이 콘텐츠는 아직 사용자의 언어로 제공되지 않아 영어로 표시됩니다.

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
2 days ago에 업데이트됨
소스 코드 보기