-
Notifications
You must be signed in to change notification settings - Fork 118
Sync with react.dev @ 3364c93f #486
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
68a9343
Fix typo: change 'then' to 'the' (#5978)
Tunzeki 37a12a6
Next Channel -> Canary Channel (#5992)
acdlite aa88d8a
Canaries blog post
gaearon 9a865fd
Revert "Canaries blog post"
gaearon 69ca3df
Fixes grammar (#5967)
eltronix 1c55fe8
Canaries blog post (#5993)
gaearon 1863ab2
tweak
sophiebits 8e24e40
renderToReadableStream => renders a readable web stream (and not a No…
slorber fe5737b
Update Profiler.md (#6000)
01d44e9
remove cancelled conference 2023 (#5999)
hernanif1 07a3ee5
Minor tweak to remove implication that mounting can happen only once …
kassens da93812
Conditionally render offset div (#5997)
sami-romdhana ebc45f5
Remove unnecessary backticks breaking markdown highlighting (#6025)
mekarthedev fd8ba03
docs(types): Fix incorrect period positioning in common.md (#6040)
xilucks bea2ff7
fix(typos): replace word "ever" with "every" (#6039)
vicsantizo 5bc25d3
Add accessibility note to interactivity section in the new React docs…
kmiddleton14 1b5e886
Upgrade React and Next (#6011)
sophiebits 398ace5
Add missing 'it' (#6061)
mekarthedev 09185bc
Fix a wrong explanation in "Manipulating the DOM with Refs" (#6055)
smikitky 3364c93
Fix typo: change "intermedinate" to "indeterminate" (#6062)
Tunzeki ed89f70
Merge branch 'main' of https://github.com/reactjs/react.dev into sync…
react-translations-bot 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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,22 @@ | ||
| diff --git a/node_modules/next/dist/server/render.js b/node_modules/next/dist/server/render.js | ||
| index a1f8648..1b3d608 100644 | ||
| --- a/node_modules/next/dist/server/render.js | ||
| +++ b/node_modules/next/dist/server/render.js | ||
| @@ -758,9 +758,14 @@ async function renderToHTML(req, res, pathname, query, renderOpts) { | ||
| // Always using react concurrent rendering mode with required react version 18.x | ||
| const renderShell = async (EnhancedApp, EnhancedComponent)=>{ | ||
| const content = renderContent(EnhancedApp, EnhancedComponent); | ||
| - return await (0, _nodewebstreamshelper.renderToInitialStream)({ | ||
| - ReactDOMServer: _serverbrowser.default, | ||
| - element: content | ||
| + return new Promise((resolve, reject) => { | ||
| + (0, _nodewebstreamshelper.renderToInitialStream)({ | ||
| + ReactDOMServer: _serverbrowser.default, | ||
| + element: content, | ||
| + streamOptions: { | ||
| + onError: reject | ||
| + } | ||
| + }).then(resolve, reject); | ||
| }); | ||
| }; | ||
| const createBodyResult = (0, _tracer.getTracer)().wrap(_constants2.RenderSpan.createBodyResult, (initialStream, suffix)=>{ |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
No Conflicts