mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
4a81f9ff6b
App Router examples were missing react-server-dom-webpack as an explicit dependency. With pnpm's strict module resolution, this caused the Vite dev server to fail resolving react-server-dom-webpack/client.browser, breaking client-side hydration — "use client" components rendered as static HTML with no interactivity. The @vitejs/plugin-rsc correctly adds react-server-dom-webpack to optimizeDeps.include, but the package must be resolvable from the project root. Without it in package.json, pnpm cannot link it.
Next.js Playground
This playground is used by the DX team to explore, test, and demo new Next.js features. It serves as a starting point for writing documentation and helps us understand features, identify bugs, and provide feedback to the Next.js team.
Running Locally
- Install dependencies:
pnpm install
- Start the dev server:
pnpm dev