nextjs-client-cookie-pattern
Pattern for client components calling server actions to set cookies in Next.js. Covers the two-file pattern of a client component with user interaction (onClick, form submission) that calls a server action to modify cookies. Use when building features like authentication, preferences, or session management where client-side triggers need to set/modify server-side cookies.
$ 安裝
git clone https://github.com/mcclowes/vague-playground /tmp/vague-playground && cp -r /tmp/vague-playground/.claude/skills/nextjs-client-cookie-pattern ~/.claude/skills/vague-playground// tip: Run this command in your terminal to install the skill
Repository

mcclowes
Author
mcclowes/vague-playground/.claude/skills/nextjs-client-cookie-pattern
0
Stars
0
Forks
Updated6d ago
Added6d ago