Astro 5 — should you migrate from Next.js
Astro positioned itself as content-first. By v5 it has Server Islands and full DB integration. When it beats Next.js.
Astro renders to static HTML by default. Zero JavaScript shipped unless you opt in via "islands" of interactivity.
Server Islands (v5): per-component server-side fetching with caching. Closes the gap with Next.js for dynamic content.
When Astro wins: blogs, docs, marketing sites, e-commerce browse pages. Bundle 5-10x smaller than Next.js.
When Next.js wins: full app shells, complex client interactivity, when team already knows React deeply.