Hacker News new | ask | show | jobs
by dbbk 515 days ago
Truthfully, this was never necessary. It was sold to the industry by the merchants of complexity.

You can just have a HTML file with an SPA that calls API. This is fine.

1 comments

Indeed. "Oh but SPAs are so complex!" Folks are completely and utterly brainwashed by Vercel's marketing.

Pondering an SSR rendered SPA with a wildcard route that calls `React.renderToPipeableStream` (or even simpler, uses `react-streaming`) and some `import()` statements sprinkled about, dropped into a tiny vite config: OMG! a handful of lines of code. Such complexity! Such slow performance! and massive bundle sizes!

Capture the market, complexify everything, then overcharge for hosting. Thanks Vercel. Love your docs!