Cloudflare just slop forked Next.js…
Video

Cloudflare just slop forked Next.js…

2026.03.03
·YouTube·by 이호민
#Cloudflare#Next.js#Open Source#React#Vite

Key Points

  • 1Cloudflare released V-Next, a re-implementation of the Next.js API built on Vite, aiming to decouple Next.js applications from Vercel's proprietary runtime and enable deployment anywhere.
  • 2Developed rapidly with AI assistance, V-Next rebuilds the framework from scratch to overcome the fragility of reverse-engineering Next.js output, achieving 94% API coverage in a week.
  • 3Benchmarks indicate V-Next, leveraging Vite and its Rust-based bundler Rolldown, delivers significantly faster production build times and smaller client bundle sizes compared to traditional Next.js.

V-Next is a project by Cloudflare that re-implements the Next.js API from scratch, built upon the Vite ecosystem, with the primary goal of enabling Next.js applications to be deployed on any platform, thereby addressing the historical vendor lock-in associated with Vercel's proprietary runtime.

The motivation behind V-Next stems from the challenge of deploying Next.js applications outside of Vercel. While Vercel provides a highly optimized, bespoke runtime for Next.js features such as routing, middleware, Incremental Static Regeneration (ISR), and image optimization, deploying to alternative platforms like Cloudflare or Netlify has traditionally been complex. Existing solutions, such as the Open Next project, rely on reverse-engineering and repackaging the output of next build, a brittle process prone to breakage as Next.js's internal build output evolves. Cloudflare's approach with V-Next is to bypass this fragility by rebuilding the framework's API from the ground up, leveraging modern web development tooling.

The core methodology of V-Next involves a complete re-implementation of Next.js functionalities directly on top of Vite. This differs from prior attempts, including Cloudflare's own past efforts, which had failed. A significant factor in V-Next's rapid development was the extensive use of AI. According to the project's claims, AI contributed to achieving basic Server-Side Rendering (SSR), middleware, server actions, and streaming support within a single day. By the third day, full client hydration on Cloudflare Workers was functional. The subsequent days were dedicated to refining edge cases, expanding the test suite, and achieving approximately 94% API coverage of the Next.js framework, with the entire development costing around $1,100 in AI tokens.

Architecturally, V-Next benefits directly from Vite's design principles. Vite's architecture, particularly its integration of Rolldown—a Rust-based bundler—contributes significantly to performance improvements. This foundation allows V-Next to potentially offer superior build times and bundle sizes compared to native Next.js. Cloudflare's internal "Trust Me Bro" benchmarks suggest production build times up to 4.4 times faster and client bundle sizes 57% smaller than Next.js, attributed almost entirely to Vite and Rolldown.

For migrating existing Next.js applications to V-Next, Cloudflare provides an AI-powered agent tool. This agent, for instance, can automatically add "type": "module" to package.json to treat JavaScript files as ES modules and refactor JSX-containing .js files to use the .jsx extension, which is required by Vite for JSX processing. While the initial automated migration might not be flawless, the agent can, with further interaction, complete the refactoring process.

Despite its innovative approach and performance claims, V-Next is still considered bleeding-edge software. Its release has also intensified the rivalry between Vercel and Cloudflare, with Vercel's CTO publicly dismissing it as a "slop fork" and CEO Germo highlighting discovered vulnerabilities, albeit with a sarcastic tone implying a lack of production users. Nonetheless, V-Next represents a significant development that could democratize Next.js deployment options and highlight the performance advantages of Vite and Rust-based tooling in the web development ecosystem.