Astro vs Next.js
Static-first vs hybrid.
Overview
Astro and Next.js are two frontend frameworks optimising for different workloads. Astro is static-first (zero-JS by default with selective hydration via Islands, ideal for content sites); Next.js is hybrid (SSR, SSG, ISR, App Router for highly interactive apps). The right answer depends on whether the app is content-heavy or interaction-heavy.
- Astro: static-first plus Islands. Zero-JS default, hydrate only what is interactive. Default for content sites, marketing pages, blogs.
- Next.js: hybrid SSR/SSG with App Router. Server Components, ISR, edge functions. Default for highly interactive apps.
- Operational fit per team. Existing React expertise transfers to Next.js; greenfield content sites bias toward Astro for performance defaults.
- Per-app choice. Different apps may pick differently. Document the rationale per app rather than enforcing one framework org-wide.
The approach
Workload-driven choice, per-team operational fit considered, documented rationale per app. The discipline is making the framework choice once with a written reason rather than mixing both frameworks across apps that share components.
- Workload-driven. Framework per app. Reality drives the answer.
- Astro for content sites. Marketing pages, blogs, docs sites with selective interactivity. Performance defaults are the win.
- Next.js for interactive apps. Dashboards, e-commerce, SaaS surfaces. Default when interactivity drives the architecture.
- Operational fit plus documented rationale. Team workflow considered; per-app rationale captured. Future migrations have a paper trail.
Why this compounds
The right framework choice compounds across years. Component patterns and team expertise align with the framework; cross-app tooling (build, deploy, observability) gets reused. By year two the framework choice is automatic per app.
- Better operational fit. Framework matches team and workload. Velocity stays high.
- Workload-driven decisions. Replaces tribal preference with documented rationale. Quality of choice improves.
- Better engineering velocity. Right framework means features compose cleanly. Iteration speed increases.
- Year-one investment, year-two habit. First framework choice is the investment; subsequent apps inherit the patterns.