Choosing a stack
A one-screen decision guide: when Vite + React wins, when Next.js wins, and when it does not matter.
Pick Vite + React when…
- You are shipping a single-page site.
- You want the fastest possible HMR during iteration.
- SEO is not the primary driver (e.g. a lead-gen landing page behind ads).
- You do not need API routes or auth server-side.
Pick Next.js when…
- You need more than one real route.
- SEO and social previews matter.
- You want server-rendered markup for content pages.
- You need API routes, middleware, or server-only logic.
Does not matter when…
For a simple 1-3 section marketing page, either stack ships a production-ready result. Pick Vite + React for the speed, pick Next.js if you suspect the project will grow into an app.
Was this page helpful?