Hello Astro: The Migration Story

23/11/2025
#Astro#Migration#Performance

Hello Astro!

If you’re reading this, it means the migration to Astro was a success! 🚀

Why the switch?

My previous portfolio was built as a Single Page Application (SPA) using React and Vite. While powerful, SPAs can sometimes be overkill for content-focused sites like portfolios and blogs. They often suffer from:

Enter Astro

Astro takes a different approach called Islands Architecture.

  1. Zero JS by Default: Astro renders your pages to static HTML at build time.
  2. Interactive Islands: You can still use React components (like my particle background or project cards) where you need interactivity, but they are loaded independently.
  3. Content Collections: Managing blog posts and project data is now type-safe and easy with Markdown and JSON files.

The Result

I’m excited to continue building on this new foundation!