@modern/standing

Next.js vs Astro

Build the application, or ship the site.

Both are defensible. The workload decides which: rendering mix, client-side JavaScript budget, personalization depth, and the operational model a team can sustain.

Lens · App vs. content workloadPrerequisite · Rendering and auth requirements mappedOutcome · Framework that fits the workload

The comparison.

DimensionNext.jsAstro
Rendering model

App Router renders per route: static generation, server rendering, or incremental static regeneration, chosen per page.

Static-first by default. Pages render to HTML at build time. Server rendering is opt-in via an adapter.

JavaScript and client payload

Server Components cut hydration cost, but any interactive route still ships and hydrates a React runtime.

Zero JavaScript by default. Only components marked as islands hydrate; the rest stays static markup.

Best-fit content type

Application-shaped work: authenticated portals, dashboards, checkout flows, anything with persistent client state.

Content-shaped work: marketing sites, documentation, blogs, brochure pages built from content collections.

Personalization and auth capability

Middleware, Server Actions and per-request rendering make logged-in, personal pages a core case.

SSR adapters and middleware exist, but per-user state and complex client interactivity sit outside the framework's core model.

Operational complexity

ISR, edge functions and caching layers give control. The cost is more setup choices to get right.

Static output deploys as files to any CDN with little to manage. Adding SSR or multiple UI-framework islands brings the complexity back.

Ecosystem and hiring

Largest React talent pool, most third-party integrations, Vercel-maintained with frequent releases.

Smaller hiring pool. Framework-agnostic islands (React, Vue, Svelte) add flexibility but can fragment the UI layer.

The gate before either framework.

Neither framework gets picked before the requirement is known. Three things decide it. How much of the site needs to render per request? How much JavaScript can each route justify sending to the browser? Is a logged-in, personal state really part of the brief? The answer follows the requirement, not a framework preference, and it can be to keep what's already running.

Is this the right fit?

Who it suits

Your team wants a modern JavaScript framework and must choose between a build shaped like an app and one shaped like a site. It fits teams that can write and keep up TypeScript components.

What you need in place

Your routes sorted by how they render: which pages are static, which change often, which sit behind a login. Then set a JavaScript budget for each kind of route.

When another option is better

If your CMS is still an open question, settle that first, because it shapes both builds: Headless vs traditional CMS

Free automated assessment

Measure the workload, then choose.