Hacker News new | ask | show | jobs
by chamomeal 514 days ago
Yeah I have to agree. It’s funny Next.js is so convincingly sold to beginner devs as an easier solution than SPA + any backend.

When it works, it really is easy. But when it doesn’t work, it is absolutely infuriating. Too much magic going on, I guess.

A couple months ago, I was still under the impression that next.js is the easiest way to scaffold a simple site. I even tried hosting it on vercel for ultra-easy mode.

I got some inscrutable build errors that had like the thumbs-ups on an unresolved GitHub issue. So I tried running it from a VPS I already had, and it worked fine!

I would absolutely not use it again though. Vite is great, and if I need SSR at any point I’ll just hope that the tanstack SSR solution is 1.0 by then lol