-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[WIP] Support React Server Component #6502
Open
chenjun1011
wants to merge
24
commits into
release/rsc
Choose a base branch
from
feat-rsc
base: release/rsc
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
* feat: bundle canary version of react * fix: bundle dependencies * fix: add switch for rsc * fix: compat with rsc plugin * fix: server logic
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## release/rsc #6502 +/- ##
===============================================
- Coverage 79.93% 77.93% -2.00%
===============================================
Files 218 223 +5
Lines 19000 19668 +668
Branches 2454 2461 +7
===============================================
+ Hits 15188 15329 +141
- Misses 3781 4307 +526
- Partials 31 32 +1 ☔ View full report in Codecov by Sentry. |
* feat: rsc router * feat: use server context * fix: lint * feat: pass children to router * fix: lint * feat: server route * refactor: rsc entry * chore: remove dead code
* feat: refresh * refactor: refresh api
* feat: support rsc transform by swc plugin * chore: add async component demo * fix: lint
Closed
* fix: root id * chore: remove debug code * chore: revert lock file * fix: lint
* chore: bundle client imports * chore: build as chunk * refactor: entry plugin * feat: generate client entry for rsc * fix: type * feat: remove temp route assets * feat: load assets by default * fix: avoid chunk information being overwritten * revert: example * fix: entry * fix: lint * fix: lint * fix: append manifest * chore: lock react plugin version * chore: update lock * refactor: use utils * chore: get routes file * fix: lint * fix: rsc url
* feat: render rsc into document * revert: lock file * fix: init rsc data
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.
基础渲染链路
工程
Client 端
Server 端
联动
Test Case
进阶