Skip to content

Conversation

@jacob-ebey
Copy link
Contributor

@jacob-ebey jacob-ebey commented Dec 4, 2025

fix(rsc): allow error traces as it is server -> server communication

Description

Allows for Request and Response classes to be sent through the RSC x-environment RPC mechanism to support more real-world setups such as react-router RSC in environments such as Cloudflare.

@hi-ogawa hi-ogawa added the trigger: preview Trigger pkg.pr.new label Dec 4, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 4, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@vitejs/plugin-react@1004
npm i https://pkg.pr.new/@vitejs/plugin-react-oxc@1004
npm i https://pkg.pr.new/@vitejs/plugin-rsc@1004
npm i https://pkg.pr.new/@vitejs/plugin-react-swc@1004

commit: b2f3999

Copy link
Contributor

@hi-ogawa hi-ogawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hi-ogawa hi-ogawa changed the title feat(rsc): support serialization of Request and Response feat(rsc): support serialization of Request and Response with loadModuleDevProxy Dec 4, 2025
@hi-ogawa hi-ogawa merged commit 7f71e15 into vitejs:main Dec 4, 2025
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

trigger: preview Trigger pkg.pr.new

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants