Cloudflare released vinext, an experimental reimplementation of Next.js built on Vite instead of Turbopack, developed by one engineer in about a week using AI assistance (Claude via OpenCode) at a cost of $1,100 in API tokens. Early benchmarks show 4.4x faster production builds and 57% smaller client bundles compared to Next.js 16, though Cloudflare cautions these are directional results from a single test fixture. The project implements Next.js routing, React Server Components, server actions, caching, and middleware as a Vite plugin, targeting Cloudflare Workers as the primary deployment platform. A notable limitation is the lack of static pre-rendering at build time; vinext only supports ISR. Cloudflare proposes Traffic-aware Pre-Rendering (TPR) as an alternative. Community reaction on Hacker News and Reddit raised concerns about maintainability of AI-generated code and noted that Vite does most of the heavy lifting. Despite its experimental status, CIO.gov is already running on it.

4m read timeFrom infoq.com
Post cover image
4.3K Impressions