Cloudflare

How we rebuilt Next.js with AI in one week

Feb 24, 2026Steve Faulkner
How we rebuilt Next.js with AI in one week
SummaryAI, from the source post

This post introduces vinext, a new project that reimplements the Next.js API surface on Vite, enabling it to deploy to Cloudflare Workers. It details the motivation for building vinext as an alternative to adapting Next.js output (via OpenNext or adapters), highlighting the fragility and limitations of the latter. The post presents benchmarks showing vinext's faster build times and smaller client bundles compared to Next.js. It also describes the deployment process to Cloudflare Workers, including the use of KV for Incremental Static Regeneration (ISR) and the ability to leverage Cloudflare-specific services like Durable Objects and AI bindings. The project is positioned as experimental but has extensive test coverage and early customer adoption.

More from the Edge Computing with Cloudflare Workers trail