← Back to Blog

Why I Migrated from Vite React to Astro

2026-04-29

My personal website was built with Vite and React. While it worked well for development, the client-side rendering meant search engines might not easily index my content, limiting my discoverability online.

I migrated to Astro, a static site generator that pre-renders content at build time, generating static HTML that search engines can easily crawl and index. Using an AI assistant, I quickly set up the project structure, configured React integration to keep my existing components, migrated blog functionality, and optimized the build for static generation.

Since migrating to Astro, all pages are pre-rendered as static HTML, resulting in better search engine indexing and visibility, faster page load times, and a simpler build process. I kept my React components for interactivity where needed.