Hacker News new | ask | show | jobs
by davedx 465 days ago
> excellent developer experience (DX)

My experience with next.js has been it’s like working with struts or enterprise java beans or something. It’s a giant, batteries included framework whose primary purpose is to lock you in to the Vercel ecosystem. There are some bright spots - next-auth is decent - but all this SSR spaghetti with leaky abstractions dripping out (try rendering emails in the backend of a next app) make it really not worth it.

Also compile times when working on it locally can get astronomical with relatively modest applications for no obvious reasons. Like Scala but less predictable.

I suspect the % of apps built with next.js that actually genuinely get a lot out of SSR is tiny, it’s mostly the darling of B2B SaaS companies.

2 comments

Here I am again this morning. I don't change any code, and yet a simple page refresh somehow triggers this:

> Compiled /api/myroute/ in 797ms (3674 modules) > Compiled (3680 modules)

It compiles when nothing has changed.