-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
React: Refactor RSC out of Next #25591
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shilman
force-pushed
the
shilman/refactor-client-rsc
branch
from
January 13, 2024 14:41
2e87a47
to
6452ff8
Compare
shilman
force-pushed
the
shilman/refactor-client-rsc
branch
from
January 16, 2024 08:58
dc69d91
to
4ac8515
Compare
shilman
added
BREAKING CHANGE
and removed
maintenance
User-facing maintenance tasks
labels
Jan 16, 2024
shilman
requested review from
valentinpalkovic,
kasperpeulen,
ndelangen and
yannbf
as code owners
January 17, 2024 12:10
shilman
force-pushed
the
shilman/refactor-client-rsc
branch
from
January 17, 2024 12:59
4ac8515
to
8c9c081
Compare
shilman
force-pushed
the
shilman/refactor-client-rsc
branch
from
January 17, 2024 14:26
8c9c081
to
4f183a9
Compare
21 tasks
kylegach
added a commit
that referenced
this pull request
Jan 17, 2024
- Per #25591 - `features.experimentalNextRSC` -> `features.experimentalRSC` - `parameters.nextjs.rsc` -> `parameters.react.rsc`
tmeasday
reviewed
Jan 17, 2024
@@ -170,7 +167,7 @@ export const webpackFinal: StorybookConfig['webpackFinal'] = async (baseConfig, | |||
configureFastRefresh(baseConfig); | |||
} | |||
|
|||
if (options.features?.experimentalNextRSC) { | |||
if (options.features?.experimentalRSC) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this still be in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It controls a webpack configuration. Where would you imagine it living?
kylegach
added a commit
that referenced
this pull request
Jan 18, 2024
- Per #25591 - `features.experimentalNextRSC` -> `features.experimentalRSC` - `parameters.nextjs.rsc` -> `parameters.react.rsc`
kylegach
added a commit
that referenced
this pull request
Jan 24, 2024
- Per #25591 - `features.experimentalNextRSC` -> `features.experimentalRSC` - `parameters.nextjs.rsc` -> `parameters.react.rsc`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes N/A
What I did
The RSC approach introduced in 7.6 can apply to any React project that uses an appropriate 18.3 canary.
So this breaking change changes the feature flag & configuration parameter so that it's no longer NextJS specific.
experimentalNextRSC
=>experimentalRSC
nextjs.rsc
=>react.rsc
There is an appropriate note in
MIGRATION.md
. And since we don't actually support any other usage yet, we have not documented its use with any other framework yet.Checklist for Contributors
Testing
The changes in this PR are covered in the following automated tests:
Manual testing
This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!
Documentation
MIGRATION.MD
🦋 Canary release
This pull request has been released as version
0.0.0-pr-25591-sha-337ab526
. Install it by pinning all your Storybook dependencies to that version.More information
0.0.0-pr-25591-sha-337ab526
shilman/refactor-client-rsc
337ab526
1705158372
)To request a new release of this pull request, mention the
@storybookjs/core
team.core team members can create a new canary release here or locally with
gh workflow run --repo storybookjs/storybook canary-release-pr.yml --field pr=25591