CF+BIRTHDAY WEEK
FIELD GUIDE
AN APP ROUTER EXPERIMENT / 2026Back to the index ↗
LIVE ON CLOUDFLARE WORKERS VINEXT 1.0

Next.js APIs.
Vite underneath.
The edge outside.

This is a real App Router application built with Vinext, not a screenshot of one. The page is rendered in a Worker, the interactive island hydrates in your browser, and its route handler runs where your request lands.

Vinext is not a drop-in guarantee for every Next.js feature. Review the limitations ↓

V1.0
APP ROUTERCLOUDFLARE WORKERS
CONNECTED SYSTEMS Vinext / Vite Worker runtime Birthday Week API: connected

Follow the actual request path.

  1. 01 / PAGE REQUEST

    Your browser requests GET /. Cloudflare routes it to the Vinext Worker. The App Router server component fetches this field guide's /api/health without caching, then renders the HTML and the connection indicator above.

  2. 02 / HYDRATION

    Vite's client bundle hydrates the EdgePulse component. The route-handler button is interactive in your browser; it does not run a model or query the CMS.

  3. 03 / EDGE RESPONSE

    That button sends GET /api/hello to this same Worker. Its route handler reads request.cf for data center and country and returns those, a timestamp, and the runtime. It never stores your IP.

Boundary: EmDash publishes on a separate site, and Analytics SQL runs in the field-guide Worker. This Vinext page links to them; it does not ingest EmDash posts or query Analytics SQL itself.

Make the round trip.

Click once. The browser calls a Next.js-style route handler running in this Worker. You’ll get back the Cloudflare data center that handled it, an event timestamp, and the deployment runtime—no visitor IP stored.

APP / API / HELLO / ROUTE.TSexport function GET(request: Request) {
  return Response.json({
    edge: request.cf?.colo,
    runtime: "vinext / workerd"
  })
}
WORKER TERMINAL01 / LIVE
$ GET /api/hello
Awaiting a request from your browser_

One week, three kinds of building.

01 / PUBLISH

EmDash

An Astro CMS for editing real content, backed by D1 and R2. Editorial workflows belong to people, not hardcoded build artifacts.

Visit the CMS-powered site ↗
02 / DELIVER

Vinext

This app runs an App Router page on Vite and a Worker. It demonstrates server rendering, a hydrated client action, and one route handler—not every supported Next.js API.

Explore the framework ↗
03 / OBSERVE

Workers + SQL

The central field guide collects anonymous experiment events and queries them with Cloudflare’s Analytics SQL binding.

Go to the live lab ↗

Broad support. Not full parity.

Vinext 1.0 does not support every Next.js feature. It targets the stable Next.js 16 API surface, not every experimental feature or Vercel-specific behavior. Check an existing application before migrating it.

01 / INCOMPLETE

Cache Components

The "use cache" directive and Partial Prerendering are not fully compatible. Page-level ISR is supported, but it is a different feature.

02 / DIFFERENT TOOLCHAIN

Vite instead of Webpack

Webpack plugins and Next.js compiler-specific build internals do not carry over automatically. Use Vite equivalents or check compatibility.

03 / DIFFERENT ASSETS

Images and fonts

Build-time image and font optimization does not reproduce the full Next.js pipeline. Request-time image optimization is available on Cloudflare Workers.

04 / ADAPTER-DEPENDENT

Runtime placement

Next.js route settings such as runtime and preferredRegion do not select where code runs; deployment placement follows the chosen adapter.

This demo proves: App Router server rendering, browser hydration, and one route handler. Vinext also supports Pages Router, Server Actions, middleware, and ISR, but this page does not test them.

Built to show the work.

Vinext 1.0 runs familiar Next.js patterns on Cloudflare’s network. This page demonstrates specific patterns, not complete Next.js compatibility.

Explore all 46 launches ↗