For a long time my personal site was a Vite + React single-page app. It was fast, it was simple, and I barely thought about it.
Then I started writing more, and I realised something slightly embarrassing. I build software for a living, and my own site was close to invisible to search engines.
So earlier this year I rebuilt it on Next.js 16. This is what pushed me to do it, what I changed, and what I'd tell anyone sitting on a similar setup.
A single-page app sends the browser an almost empty HTML file and a big bundle of JavaScript. The page only appears once that JavaScript runs.
For users on a decent connection, that's fine. For search engines and social previews, it's a problem:
Google does render JavaScript these days. But "eventually, sometimes" is not a strategy when the whole point of a blog is to be found.
I looked at Astro seriously. For a mostly static content site it's a great choice, and honestly it might have been the purist option.
I went with Next.js for a boring reason: it's what I already use on client projects. Same mental model, same deployment patterns, same muscle memory. My personal site is also where I try things before recommending them, so keeping it on the stack I ship daily made sense.
The App Router helped too. Pages are server components by default, and only the interactive bits (the header, the carousel, the contact form) are marked as client components. That split forces you to think about what actually needs JavaScript in the browser.
The migration touched almost everything, but the important parts were these:
I also deleted a lot. Webpack config, the Express server, React Router and a pile of unused dependencies and dead components. Removing code is one of my favorite parts of any migration.
The best side effect wasn't SEO. It was how much easier writing became.
Posts are now MDX files in the repo. Each one exports a small block of metadata and then it's just Markdown, with the option of dropping in a component when I need one. A single registry file lists the posts, and the build does the rest.
I also added a small script that generates a banner for each new post using Google's Gemini image model. It reads the title and tags, generates an illustration in a consistent style, and writes the path back into the post. The dark navy and gold banners you see across the blog all come from it.
That might sound like over-engineering for a personal site. But removing friction is the whole game with writing. If publishing takes five minutes, you publish more.
For a site that exists mostly to be found and read, yes. Without question.
If your app lives behind a login (a dashboard, an internal tool, a SaaS product), a plain SPA is still perfectly fine. Search engines will never see it anyway, and the simplicity is worth a lot.
But if a page needs to rank, be shared, or load fast on a cheap phone, render it on the server. It's one of those decisions that seems minor and then shapes everything that comes after.
If you're weighing up a similar migration for your own product or company site, I'm always happy to talk it through. I've made the mistakes already, so you don't have to.