Revolutionizing Next.js with AI: Introducing vinext

Revolutionizing Next.js with AI: Introducing vinext

Revolutionizing Next.js with AI: Introducing vinext

Last week, one engineer and an AI model rebuilt the most popular front-end framework from scratch. The result, vinext (pronounced “vee-next”), is a drop-in replacement for Next.js, built on Vite, that deploys to Cloudflare Workers with a single command.

The Next.js Deployment Problem

Next.js is the most popular React framework, powering a huge chunk of the production web. However, it has a deployment problem when used in the broader serverless ecosystem. The tooling is entirely bespoke, making it difficult to deploy to Cloudflare, Netlify, or AWS Lambda.

Introducing vinext

What if instead of adapting Next.js output, we reimplemented the Next.js API surface on Vite directly? Vite is the build tool used by most of the front-end ecosystem outside of Next.js. We honestly didn’t think it would work. But it’s 2026, and the cost of building software has completely changed.

vinext is an alternative implementation of the API surface: routing, server rendering, React Server Components, server actions, caching, middleware. All of it built on top of Vite as a plugin.

The Numbers

Early benchmarks are promising. We compared vinext against Next.js 16 using a shared 33-route App Router application. vinext builds production apps up to 4x faster and produces client bundles up to 57% smaller.

Deploying to Cloudflare Workers

vinext is built with Cloudflare Workers as the first deployment target. A single command takes you from source code to a running Worker: vinext deploy. This handles everything: builds the application, auto-generates the Worker configuration, and deploys.

Frameworks are a Team Sport

The current deployment target is Cloudflare Workers, but that’s a small part of the picture. Something like 95% of vinext is pure Vite. Cloudflare is looking to work with other hosting providers about adopting this toolchain for their customers.

Status: Experimental

We want to be clear: vinext is experimental. It’s not even one week old, and we’re still working out the kinks. But we’re excited about the potential and invite you to join us on this journey.

FAQs

  • What is vinext? vinext is a drop-in replacement for Next.js, built on Vite, that deploys to Cloudflare Workers with a single command.
  • How does vinext compare to Next.js? vinext builds production apps up to 4x faster and produces client bundles up to 57% smaller.
  • Can I use vinext with other hosting providers? Yes, Cloudflare is looking to work with other hosting providers about adopting this toolchain for their customers.
  • Is vinext stable? No, vinext is experimental and not yet stable.
  • How can I contribute to vinext? You can contribute to vinext by opening an issue or reaching out to us.