专家
Next.js 16 Server Actions
nextjs development guide
完整提示词
Build a complete Next.js 16 application using Server Actions: form handling with server-side validation using Zod, file uploads with streaming, optimistic UI updates, server-side data mutations with revalidation, authentication integration with NextAuth v5, error handling with useActionState, and loading states with useFormStatus. Include TypeScript types throughout.
标签
支持平台
✨GPT-4o✨Claude 3.5 Sonnet✨Cursor✨GitHub Copilot
初学者 Rating
4.5(4,718)
Stats
8,220浏览
3,386复制
4,718点赞
3,386收藏