Getting Started with Astro
I chose Astro for this project because of its excellent performance characteristics and developer experience.
Why Astro?
Astro’s islands architecture allows me to ship zero JavaScript by default and only hydrate interactive components when needed. This is perfect for a content-focused site like a digital garden.
Key Features
- Fast by default: Zero JS shipped unless needed
- Content collections: Type-safe markdown with schema validation
- Framework agnostic: Use React, Vue, or vanilla JS as needed
- Great DX: Hot module reloading, TypeScript support, and more
This setup gives me the flexibility to add interactive components (like Anki stats widgets) while keeping the base site fast and lightweight.