Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Nextjs has no support

From what I remember, you can't even run a NextJS app through vite?





Yes, that's part of the problem, deploying nextjs to cloudflare in the first place used to be an absolute nightmare, let alone the dev experience (I think it's better now)

Wasn't this a decision made by Vercel to incentivize people using Vercel for NextJS apps? I can't recall.

It's gotten a lot better since last year with OpenNext. Last I tested was Next.js 15 though. Who knows what Vercel has broken with Next.js 16.

https://opennext.js.org/cloudflare


That doesn't sound too preposterous; I wouldn't assume you'd be able to run a React Router project on Turbopack or Webpack either, and Next.js I think has a way more intricate dependence on the bundler to power a significant chunk of its features.

This is insane to me, and validates my irrational dislike of next.

Definitely irrational. There are lots of logical reasons to dislike Next (like the fact that they pile new shiny bit on top of new shiny bit without caring about the regular user experience) ... but being mad that it can't run on Vite is silly.

It's like being mad that Rails can't run on Python, or that React can't run on jQuery. Next already has its own build system, so of course it doesn't work with another build system.


Isn’t the next.js build system known for being slow/memory hungry?

Luckily DX is much better now with Turbopack as a bundler. First they improved the dev server, now with Turbo builds the production builds are faster as well. Still not fully stable in my opinion, but they will get there.

It's also wise to use monorepo orchestration with build caching like Turborepo.

They did well on the turbo stuff, no doubt about it.

The main bottleneck with big projects in my experience is Typescript. Looking forward to the Go rewrite. :)


For those stuck in the past yes, they have replaced it with a Rust based toolchain, as is so fashionable nowadays.

100% rational. Nuxt/Astro FTW.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: