Next.js
The React framework for production. Next.js provides hybrid static and server rendering, TypeScript support, smart bundling, and route pre-fetching.
Default to Server Components
Use Server Components by default in Next.js App Router. Only add 'use client' when you need interactivity, browser APIs, or React hooks.
Always Validate Server Action Inputs
Server Actions are public HTTP endpoints. Always validate and sanitize all inputs using Zod or similar validation libraries to prevent security vulnerabilities.