mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
efa916579b
* 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>
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
- Install dependencies:
pnpm install
- Start the dev server:
pnpm dev
- Build for production:
pnpm build
- Preview the production build:
pnpm preview