-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
feat(bridge-react): enable custom createRoot to support React v19 in @module-federation/bridge-react #3551
Open
danpeen
wants to merge
11
commits into
main
Choose a base branch
from
feat/bridge-enable-custom-createRoot
base: main
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
feat(bridge-react): enable custom createRoot to support React v19 in @module-federation/bridge-react #3551
Changes from 2 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
8c312c1
feat(bridge-react): enable custom createRoot in bridge-react
danpeen c96763a
feat(bridge-react): convergent bridge-react type definition
danpeen b5ad220
Merge branch 'main' into feat/bridge-enable-custom-createRoot
danpeen 56a001a
feat(bridge-react): add en version for bridge document and refactor t…
danpeen 8d65052
feat(bridge-react): merge main branch
danpeen efb0442
Merge branch 'main' into feat/bridge-enable-custom-createRoot
danpeen 0c24999
chore: merge main branch
danpeen bb71a4a
Merge branch 'feat/bridge-enable-custom-createRoot' of https://github…
danpeen 2afd6a7
chore: delete unneed types exporting
danpeen 4e96c49
chore: merge main branch
danpeen 40a5f82
chore: update create.ts
danpeen 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@module-federation/bridge-react': patch | ||
--- | ||
|
||
feat(bridge-react): enable custom createRoot in bridge-react |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@module-federation/bridge-react': patch | ||
--- | ||
|
||
refactor(bridge-react): centralize type definitions into a single file for better maintainability and consistency |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import React from 'react'; | ||
import { ProviderParams } from '@module-federation/bridge-shared'; | ||
import { ProviderParams } from '../types'; | ||
|
||
export const RouterContext = React.createContext<ProviderParams | null>(null); |
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.
Wouldn't it be more advantageous to translate it into English, or keep both the code and comments in English? This way, we would reach a larger audience and also maintain a consistent language standard in the code.
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.
@douglaszaltron Oh, I got what you mean. I think the thing is, I forgot the English document of this part! Yes you are right,you've made a very good point. We'll definitely add English docs for this part, and I think for english users we can just turn to the english version of the website and it will all be English documents. Thank again!