Skip to content

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
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hi-ogawa
Copy link
Contributor

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

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 [email protected].

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)

@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
@hi-ogawa hi-ogawa force-pushed the chore-rsc-nightly branch from 343a972 to 1f86064 Compare July 6, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant