Files
James Anderson efa916579b fix(app-router): settle optimistic search navigations (#2952)
* test(app-router): reproduce deployed optimistic search navigation stall

Add a production-shaped provider filter that combines useOptimistic with same-path search navigation and streamed server results. Cover local controls and run a bounded provider cycle against the deployed Workers example, where the intermittent commit failure occurs.\n\nRefs #2865.

* test(app-router): reproduce local optimistic navigation stall

* fix(app-router): settle optimistic search navigations

* fix(app-router): preserve streaming during optimistic recovery

---------

Co-authored-by: Nathan Nguyen <146415969+NathanDrake2406@users.noreply.github.com>
2026-08-17 14:23:57 +01:00
..
2026-02-24 09:29:39 -06:00

App Router on Cloudflare Workers

A minimal example of a Next.js App Router application running on Cloudflare Workers via vinext.

Demonstrates server components, client components, dynamic routes, and API route handlers.

Running Locally

  1. Install dependencies:
pnpm install
  1. Start the dev server:
pnpm dev
  1. Build for production:
pnpm build
  1. Preview the production build:
pnpm preview