Getting Started with Astro

January 5, 2025 1 min read By Alex Morgan
astro javascript web
Getting Started with Astro

What is Astro?

Astro is a modern web framework focused on content-first websites.
It lets you build fast websites with less JavaScript by default.

Key ideas behind Astro

  • Server-first rendering
  • Static HTML by default
  • Bring your own UI framework
  • Zero JS unless you need it

Why developers like Astro

Astro feels familiar if you already know:

  • HTML
  • CSS
  • JavaScript

But it removes a lot of complexity found in SPAs.

// Example Astro component
---
const name = "Astro";
---
<h1>Hello {name}</h1>