-
Notifications
You must be signed in to change notification settings - Fork 27.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
Allow server-only in server targets and client-only in client components targets to be available #55394
Merged
Merged
Allow server-only in server targets and client-only in client components targets to be available #55394
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
1b2e15d
Alias server-only and client-only in bundled layers
huozhi 78a7aa3
fmt
huozhi 0b66804
fix alias
huozhi c91310e
assert default and client as client graph
huozhi 416eb07
fix ssr layer
huozhi 9125b67
merge bundle target
huozhi f4f0fee
fix invalid api checking
huozhi 44bf334
fix test
huozhi fbcf31d
fix graph assertion
huozhi 797739a
clean up
huozhi 7737a0d
rust check
huozhi d38a001
refactor
huozhi 764bdd4
fix
huozhi 4b019f2
fix
huozhi 33b45bb
refactor
huozhi d3b0764
rm default overrides, test against deployment
huozhi 28b5f6c
fix type imports
huozhi 19a9403
rename
huozhi 7793f80
Merge branch 'canary' into fix/middleware-rsc-check
kodiakhq[bot] a00d823
Merge branch 'canary' into fix/middleware-rsc-check
huozhi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
This should be an enum, shouldn't it?
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.
yes, enum will be better, add a reminder for myself to refactor it later. thanks for suggestion 👍