Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/plugin-rsc/examples/starter-cf-single/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ https://vite-rsc-starter.hiro18181.workers.dev
The difference from [examples/react-router](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc/examples/react-router) is that this doesn't require two workers.

- RSC environment always runs on Cloudflare Workers.
- During development, SSR environment runs as Vite's deafult Node environment.
- During development, SSR environment runs as Vite's default Node environment.
- During production, SSR environment build output is directly imported into RSC environment build and both codes run on the same worker.

Such communication mechanism is enabled via `rsc({ loadModuleDevProxy: true })` plugin option.
Expand Down
Loading