Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(rsc): release for react canary/experimental channel [not merge] #524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
hi-ogawa wants to merge 184 commits into vitejs:main
base: main
Choose a base branch
Loading
from hi-ogawa:chore-rsc-nightly

Conversation

@hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Jul 4, 2025
edited
Loading

Description

This is a dummy PR to (ab)use pkg.pr.new to release two nightly versions of @vitejs/plugin-rsc, which vendor react-server-dom-webpack@canary and react-server-dom-webpack@experimental instead of the default version react-server-dom-webpack@19.1.0.

I created a workflow in my repo https://github.com/hi-ogawa/vite-plugins/blob/main/.github/workflows/trigger-nightly.yml, which pushes a commit to this PR everyday using my own fine-grained PAT.

These packages are for users who want to use React features which is only available on canary or experimental channel. Canary/experimental versions can be installed in a following way:

{
 "react": "canary",
 "react-dom": "canary",
 "@vitejs/plugin-rsc": "https://pkg.pr.new/vitejs/vite-plugin-react/@vitejs/plugin-rsc-canary@(commit)"
}
{
 "react": "experimental",
 "react-dom": "experimental",
 "@vitejs/plugin-rsc": "https://pkg.pr.new/vitejs/vite-plugin-react/@vitejs/plugin-rsc-experimental@(commit)"
}

Note that this is an interim solution and it's plan to have a clean separation of react-server-dom-vite and @vitejs/plugin-rsc in the future. See the roadmap for more. (todo)

lin72h reacted with thumbs up emoji
@hi-ogawa hi-ogawa changed the title (削除) chore(rsc): nightly react channel release [not merge] (削除ここまで) (追記) chore(rsc): release for react canary/experimental channel [not merge] (追記ここまで) Jul 5, 2025
@hi-ogawa hi-ogawa force-pushed the chore-rsc-nightly branch 3 times, most recently from 3c9ec2f to 343a972 Compare July 6, 2025 01:49
github-actions bot and others added 16 commits July 7, 2025 00:14
Copy link

Out of curiosity - is this needed anymore after #915 this one?

Copy link
Contributor Author

Out of curiosity - is this needed anymore after #915 this one?

Good point. I think it's fine to keep releasing preview, but we may tweak documentation to combine https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-rsc/README.md#canary-and-experimental-channel-releases and https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-rsc/README.md#react-server-dom-webpack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /