Web Dev//framework//Astro

Frontend framework that generates static HTML at build time and ships zero JavaScript by default. Only loads JS where you explicitly mark interactive "islands."


Frontend framework that generates static HTML at build time and ships zero JavaScript by default. Only loads JS where you explicitly mark interactive "islands."

Islands Architecture: most of the page is static HTML. Interactive components (search bar, graph viewer, toggles) load their own JS independently.

Framework-agnostic: components can be React, Vue, Svelte, Solid — mix and match in the same project

Ideal for content-heavy sites: blogs, docs, portfolios. The HTML is ready on arrival — no waiting for JS to render.

Contrast with React + Vite: React manda un bundle JS al navegador y el DOM se construye allí — el HTML inicial está vacío, React lo monta en el cliente. Astro manda el HTML ya montado desde el servidor — el navegador lo pinta directamente, sin esperar a JS. Less JS = faster load.

Contrast with Next.js: Next.js is full-stack (frontend + backend + SSR). Astro is frontend-only and static-first. For apps with lots of interactivity (dashboards, editors), Next.js or React make more sense.

InfraPhysics (React + Vite) would be a natural candidate for Astro — mostly static content with a few interactive islands (Second Brain, graph, search). But it works fine as-is.