How we rebuilt Next.js with AI in one week
11–20 of 252 posts
Re: How we rebuilt Next.js with AI in one week
#12--- start quote ---
Something like 95% of vinext is pure Vite. The routing, the module shims, the SSR pipeline, the RSC integration: none of it is Cloudflare-specific.
--- end quote ---
The real achievement is human-built Vite (and it is an amazing project).
Since Next.js's API surface and capabilities are known, this is actually quite a good use of AI: re-implement some functionality using a different framework/language/approach. They work rather well with that.
Re: How we rebuilt Next.js with AI in one week
#13Re: How we rebuilt Next.js with AI in one week
#14[flagged]
Re: How we rebuilt Next.js with AI in one week
#15[flagged]
Or just skip/migrate off of the Next.js and other JS SSR rats nets to Elixir and Phoenix LiveView - Claude and Codex are both very good with Elixir now: https://elixirisallyouneed.dev
Re: How we rebuilt Next.js with AI in one week
#16This gives someone like me everything we want. Better performance is something the Next community has been begging for for years: the Next team ignored them, but not the Cloudflare team. Meanwhile Vite is a better core layer than the garbage the Next people use, but you still get the full Next functionality.
I wish Cloudflare the best of luck with this fork: I hope it succeeds and gets proven so I can use it at my company!
Re: How we rebuilt Next.js with AI in one week
#17Re: How we rebuilt Next.js with AI in one week
#18[flagged]
The last time Cloudflare vibe-coded something, it was a glorified proof-of-concept with TODOs up the wazoo.
Re: How we rebuilt Next.js with AI in one week
#19Re: How we rebuilt Next.js with AI in one week
#20let me add my own unqualified statement to that: no.
> Next.js has invested heavily in Turbopack but if you want to deploy it to Cloudflare, Netlify, or AWS Lambda, you have to take that build output and reshape it into something the target platform can actually run.
it's almost as if vercel had some kind of financial incentive to gear this towards their own platform.
> reimplemented the Next.js API surface on Vite directly
a clown car screeches to a halt; several burnt-out-bored oracle vs google lawyers climb out and, weirdly, i am there for it
all in all, it's definitely a good example of something we couldn't have done for $1100 pre-llms, but: should we have? did somebody consult the lava lamps?