Cloudflare just slop forked Next.js…

FireshipFireship
Science & Technology3 min read6 min video
Mar 2, 2026|514,508 views|16,970|655
Save to Pod

Key Moments

TL;DR

Cloudflare builds Next.js on Vit (V-Next) to run anywhere, stirring rivalry.

Key Insights

1

V-Next reimplements the Next.js API on Vit to enable deployment beyond Vercel.

2

AI-assisted bootstrapping delivers SSR, middleware, server actions, and streaming quickly.

3

Migration uses an agent to adjust to V-Next, including ES module changes and JSX extension.

4

Performance claims favor Vit and rolldown, with faster builds and smaller bundles, though real-world results vary.

5

Open-source drama between Vercel and Cloudflare highlights portability vs platform lock-in.

WHY V-NEXT MATTERS

V-Next is a re-implementation of the Next.js API atop Cloudflare's Vit runtime rather than extending Next.js' own build output. This design decision promises true portability: apps can run on platforms beyond Vercel, including Cloudflare Workers and other edge runtimes. The move signals a shift from optimizing for Next.js' output to re-creating the framework to run anywhere, which could reshape how developers think about deployment targets and vendor lock-in.

HOW V-Next IS BUILT ON VIT

Cloudflare's team rebuilt the Next.js API inside Vit, leveraging Vit's fast bundling (rolldown) and Rust-based tooling. They claim to reach basic SSR, middleware, server actions, and streaming within a day, then push to full client hydration by day three, deploying on Cloudflare Workers. This contrasts with Open Next, which translates Next.js output; V-Next instead creates a fresh runtime with native support for Next-like features, all powered by AI-assisted development and Vit's architecture.

MIGRATION AND COMPATIBILITY CHALLENGES

To migrate a typical Next.js app, you install Cloudflare's agent, which adjusts the project to V-Next by adding type: module, converting JSX files to use the JSX extension, and other ES module changes. The demo app is the byes.dev newsletter site, and the migration can start with a simple app but may still leave many pieces broken until further tweaks are applied. The emphasis is on compatibility with V and the potential pitfalls of retrofitting a Next app to a new runtime.

PERFORMANCE CLAIMS AND REAL-WORLD SIGNALS

Cloudflare's internal benchmarks claim V-Next yields much faster production builds and smaller client bundles, thanks to Vit and rolldown. The presenter cites 'Trust Me Bro' style benchmarks showing multi-fold build-time improvements and a substantial reduction in bundle size. The video tester reports his own results, noting that builds can be faster in practice but warns that personal results are not authoritative. The takeaway is that the approach shows real potential, even if the tooling remains immature.

OPEN SOURCE DYNAMICS AND THE RIVALRY

The story frames a rivalry between Versell (Vercel) and Cloudflare as a yardstick for how open-source ecosystems evolve. Versell's CTO called V-Next a 'slop fork', while the Versell team provides migration guides and points out vulnerabilities they found in the project. The dynamic highlights how edge runtimes, OSS governance, and platform incentives shape the pace of innovation. The broader context remains that Next.js is still dominant, but portable runtimes challenge deployment constraints and open-source collaboration.

TAKEAWAYS AND FUTURE PROSPECTS

Across the video, we glimpse bleeding-edge engineering: portable runtimes, performance gains, and AI-assisted scaffolding that accelerates prototypes. Yet maturity and reliability remain open questions, and the host suggests revisiting the project after further months of development. The core lesson is that understanding underlying CS concepts is essential to evaluate such innovations, because fast code generation does not guarantee correctness or stability. Durable success will hinge on real-world adoption, tooling maturity, and clear migration paths for developers.

V-Next Migration Cheat Sheet

Practical takeaways from this episode

Do This

Run the migration workflow with the Cloudflare agent to move your project to V-Next.
Set package.json type to module so JS files are treated as ES modules.
Refactor any JSX-containing JS files to use the JSX extension as required by V.
Test the migrated app locally first and verify basic functionality before production.
Use a small, representative app to validate compatibility before scaling.

Avoid This

Don’t assume immediate production readiness; bleeding-edge projects can have breakages.
Don’t skip compatibility checks with V and module type expectations.
Don’t rely on a single benchmark or expect API surface to be identical without testing.

V-Next vs Next.js performance snapshot

Data extracted from this episode

MetricNext.js (baseline)V-Next (with Vit)Notes
Production build timeBaselineUp to 4.4x fasterBased on Trust Me Bro benchmarks (Cloudflare) / not guaranteed across all projects
Client bundle sizeBaseline57% smallerAttributed to Vit and rolldown
Site build times (bites.dev)N/A5x faster builds observed by creatorPersonal experimentation; not production-level claim
AI token costN/A$1,100 totalCost reported during development

Common Questions

V-Next is a re-implementation of the Next.js API built on the Vit stack, intended to let Next.js apps run on platforms beyond the usual hosting targets (like Cloudflare Workers). Cloudflare pursued this approach to avoid reverse-engineering Next's output and to showcase a more direct, from-scratch implementation. The video notes basic SSR and client hydration became available quickly, and the project cost cited was around $1,100 in AI tokens during development.

Topics

Mentioned in this video

More from Fireship

View all 6 summaries

Found this useful? Build your knowledge library

Get AI-powered summaries of any YouTube video, podcast, or article in seconds. Save them to your personal pods and access them anytime.

Try Summify free