React
Next.js Commands
Build full-stack React applications with Next.js. Learn CLI commands for development, building, and deploying Next.js apps with App Router, Server Components, and API routes.
15 commands
Pro Tips
Use 'next dev --turbopack' for significantly faster development builds with Turbopack.
Use 'next build && next start' to test production builds locally before deploying.
Run 'npx @next/codemod@latest' to automatically migrate between Next.js versions.
Common Mistakes
next dev behavior differs from production. Always test with 'next build && next start' before deploying.
Server Components can't use hooks or browser APIs. Add 'use client' directive for interactive components.