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.