All posts

· 3 min read

From Astro to Angular: Why I Rebuilt My Portfolio

Why static simplicity wasn’t enough for my portfolio and how Angular gave me room to grow.

When I first built my portfolio site, I wanted speed, simplicity, and a modern tech stack. That’s why I picked Astro. It felt fast, clean, and lightweight. For a while, it worked perfectly.

But as my ambitions for the site grew, I started hitting walls. I didn’t want just static pages anymore. I wanted dynamic features, smarter routing, and a codebase I could scale without headaches. That’s when I realized Astro wasn’t the right fit for me anymore.

So, I made the switch to Angular. And I don’t regret it for a second.

Why Astro Was Great at First

Astro is honestly awesome for simple sites. Static generation is lightning fast. I loved how I could sprinkle in React or other components without shipping tons of JavaScript. My blog and a few static pages loaded almost instantly, and that was all I needed in the beginning.

But as soon as I wanted anything more advanced, things got messy. I started gluing together JavaScript for interactivity. Routing felt limited. State management required extra libraries. The simplicity that made Astro great also became my bottleneck.

Why I Switched to Angular: 4 Big Wins for My Use Case

1. Shared State and Services That Just Work

Astro didn’t give me a clean way to share state between different parts of the site. I ended up juggling context providers and global stores, and it felt duct-taped together.

Angular gave me dependency injection and services out of the box. I can keep business logic separate from components and share data anywhere without reinventing the wheel.

2. Real Routing Power

Astro handles static routing beautifully but falls short when you want dynamic routing with parameters, guards, or lazy loading.

Angular’s router is in a different league. I can build routes with parameters, protect them with guards, and lazy-load modules to keep the app fast. It’s like going from local streets to a full highway system.

3. TypeScript Everywhere, For Real

Astro supports TypeScript, but it’s not enforced or deeply integrated in the same way Angular is. Angular lives and breathes TypeScript. Templates, services, routing — everything benefits from strong typing.

It’s saved me from countless bugs during refactoring. I know exactly what’s expected where, which keeps my code safer and more maintainable.

4. CLI and Tooling That Make Life Easier

Astro’s simplicity is great, but it leaves you to wire up lots of tools yourself if your project grows.

Angular’s CLI gives me commands for generating components, services, and modules, plus automated testing and production builds. It’s a huge timesaver and helps me keep my code organized.

How My Site Has Changed

Since moving to Angular, my portfolio isn’t just a static site anymore. It’s a small app.

  • I’ve added dynamic content rendering
  • Blog posts load dynamically with routing parameters
  • I’m prepared for future integrations, like APIs or authentication
  • The codebase is structured and easier to maintain

Astro was perfect when I just wanted a lightweight static site. But my vision outgrew what it could comfortably handle.

Would I Recommend Angular for Everyone?

Not necessarily. If you’re building a simple blog or marketing page, Astro is brilliant. It’s fast, modern, and minimal.

But if you’re thinking ahead to dynamic features, complex routing, or large-scale maintainability, Angular can save you a lot of headaches later on.

Final Thoughts

It’s easy to fall in love with new frameworks. Astro was amazing when my needs were small. But your tech choices should follow your goals, not the other way around.

I’m glad I made the switch. My site is more powerful and future-proof, and I feel confident about building on it for years to come.

If you’re facing a similar choice, feel free to reach out. I’d love to hear your story.