GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Fix false positive hydration warnings by acdlite · Pull Request #23364 · react/react Conversation
Collaborator
When something suspends during hydration, we continue rendering the siblings to warm up the cache and fire off any lazy network requests. However, if there are any mismatches while rendering the siblings, it's likely a false positive caused by the earlier suspended component. So we should suppress any hydration warnings until the tree no longer suspends. Fixes #23332
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Comparing: 5d08a24...be112b2 Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
When something suspends during hydration, we continue rendering the siblings to warm up the cache and fire off any lazy network requests. However, if there are any mismatches while rendering the siblings, it's likely a false positive caused by the earlier suspended component. So we should suppress any hydration warnings until the tree no longer suspends. Fixes #23332
67dd1a2 to
be112b2
Compare
Summary: This sync includes the following changes: - **[1780659](react/react@17806594c )**: Move createRoot/hydrateRoot to react-dom/client ([#23385](react/react#23385)) //<Sebastian Markbåge>// - **[75662d6](react/react@75662d6a7 )**: Remove hacky stream.locked check, declare as byte stream instead ([#23387](react/react#23387)) //<Sebastian Markbåge>// - **[a82ef6d](react/react@a82ef6d40 )**: Add back skipUnmountedBoundaries flag only for www ([#23383](react/react#23383)) //<Andrew Clark>// - **[f468816](react/react@f468816ef )**: Fix false positive hydration warnings ([#23364](react/react#23364)) //<Andrew Clark>// - **[5d08a24](react/react@5d08a24c2 )**: useId: Use 'H' to separate main id from hook index ([#23363](react/react#23363)) //<Andrew Clark>// - **[3a60844](react/react@3a60844a0 )**: Update error message for suspending at sync priority ([#23361](react/react#23361)) //<Andrew Clark>// - **[efe4121](react/react@efe4121ee )**: Add : to beginning and end of every useId ([#23360](react/react#23360)) //<Andrew Clark>// - **[42f15b3](react/react@42f15b324 )**: [DevTools][Transition Tracing] onTransitionComplete and onTransitionStart implmentation ([#23313](react/react#23313)) //<Luna Ruan>// - **[a5b2215](react/react@a5b22155c )**: Warn if renderSubtreeIntoContainer is called ([#23355](react/react#23355)) //<Andrew Clark>// - **[52c393b](react/react@52c393b5d )**: Revert to client render on text mismatch ([#23354](react/react#23354)) //<Andrew Clark>// - **[1ad8d81](react/react@1ad8d8129 )**: Remove object-assign polyfill ([#23351](react/react#23351)) //<Sebastian Markbåge>// - **[b3f3da2](react/react@b3f3da205 )**: Land warnOnSubscriptionInsideStartTransition flag ([#23353](react/react#23353)) //<Andrew Clark>// - **[990098f](react/react@990098f88 )**: Re-arrange main ReactFeatureFlags module ([#23350](react/react#23350)) //<Andrew Clark>// - **[1f3f6db](react/react@1f3f6db73 )**: Remove createMutableSource from stable exports ([#23352](react/react#23352)) //<Andrew Clark>// - **[587e759](react/react@587e75930 )**: Remove Numeric Fallback of Symbols ([#23348](react/react#23348)) //<Sebastian Markbåge>// - **[4035157](react/react@40351575d )**: Split writeChunk into void and return value ([#23343](react/react#23343)) //<Sebastian Markbåge>// - **[2c693b2](react/react@2c693b2de )**: Re-add reentrancy avoidance ([#23342](react/react#23342)) //<Sebastian Markbåge>// - **[1760b27](react/react@1760b27c0 )**: Remove ./src/* export from public build ([#23262](react/react#23262)) //<Andrew Clark>// - **[552c067](react/react@552c067bb )**: Remove public export for unstable-shared-subset.js ([#23261](react/react#23261)) //<Andrew Clark>// Changelog: [General][Changed] - React Native sync for revisions 4de99b3...1780659 jest_e2e[run_all_tests] Reviewed By: rickhanlonii Differential Revision: D34552175 fbshipit-source-id: f1c831a45f96d335a20c3b4113196e0a42cefc03
* Failing test for react#23331 * Don't warn on hydration mismatch if suspended When something suspends during hydration, we continue rendering the siblings to warm up the cache and fire off any lazy network requests. However, if there are any mismatches while rendering the siblings, it's likely a false positive caused by the earlier suspended component. So we should suppress any hydration warnings until the tree no longer suspends. Fixes react#23332 Co-authored-by: Marcel Laverdet <[email protected]>
Summary: This sync includes the following changes: - **[1780659](react/react@17806594c )**: Move createRoot/hydrateRoot to react-dom/client ([react#23385](react/react#23385)) //<Sebastian Markbåge>// - **[75662d6](react/react@75662d6a7 )**: Remove hacky stream.locked check, declare as byte stream instead ([react#23387](react/react#23387)) //<Sebastian Markbåge>// - **[a82ef6d](react/react@a82ef6d40 )**: Add back skipUnmountedBoundaries flag only for www ([react#23383](react/react#23383)) //<Andrew Clark>// - **[f468816](react/react@f468816ef )**: Fix false positive hydration warnings ([react#23364](react/react#23364)) //<Andrew Clark>// - **[5d08a24](react/react@5d08a24c2 )**: useId: Use 'H' to separate main id from hook index ([react#23363](react/react#23363)) //<Andrew Clark>// - **[3a60844](react/react@3a60844a0 )**: Update error message for suspending at sync priority ([react#23361](react/react#23361)) //<Andrew Clark>// - **[efe4121](react/react@efe4121ee )**: Add : to beginning and end of every useId ([react#23360](react/react#23360)) //<Andrew Clark>// - **[42f15b3](react/react@42f15b324 )**: [DevTools][Transition Tracing] onTransitionComplete and onTransitionStart implmentation ([react#23313](react/react#23313)) //<Luna Ruan>// - **[a5b2215](react/react@a5b22155c )**: Warn if renderSubtreeIntoContainer is called ([react#23355](react/react#23355)) //<Andrew Clark>// - **[52c393b](react/react@52c393b5d )**: Revert to client render on text mismatch ([react#23354](react/react#23354)) //<Andrew Clark>// - **[1ad8d81](react/react@1ad8d8129 )**: Remove object-assign polyfill ([react#23351](react/react#23351)) //<Sebastian Markbåge>// - **[b3f3da2](react/react@b3f3da205 )**: Land warnOnSubscriptionInsideStartTransition flag ([react#23353](react/react#23353)) //<Andrew Clark>// - **[990098f](react/react@990098f88 )**: Re-arrange main ReactFeatureFlags module ([react#23350](react/react#23350)) //<Andrew Clark>// - **[1f3f6db](react/react@1f3f6db73 )**: Remove createMutableSource from stable exports ([react#23352](react/react#23352)) //<Andrew Clark>// - **[587e759](react/react@587e75930 )**: Remove Numeric Fallback of Symbols ([react#23348](react/react#23348)) //<Sebastian Markbåge>// - **[4035157](react/react@40351575d )**: Split writeChunk into void and return value ([react#23343](react/react#23343)) //<Sebastian Markbåge>// - **[2c693b2](react/react@2c693b2de )**: Re-add reentrancy avoidance ([react#23342](react/react#23342)) //<Sebastian Markbåge>// - **[1760b27](react/react@1760b27c0 )**: Remove ./src/* export from public build ([react#23262](react/react#23262)) //<Andrew Clark>// - **[552c067](react/react@552c067bb )**: Remove public export for unstable-shared-subset.js ([react#23261](react/react#23261)) //<Andrew Clark>// Changelog: [General][Changed] - React Native sync for revisions 4de99b3...1780659 jest_e2e[run_all_tests] Reviewed By: rickhanlonii Differential Revision: D34552175 fbshipit-source-id: f1c831a45f96d335a20c3b4113196e0a42cefc03
* Failing test for react#23331 * Don't warn on hydration mismatch if suspended When something suspends during hydration, we continue rendering the siblings to warm up the cache and fire off any lazy network requests. However, if there are any mismatches while rendering the siblings, it's likely a false positive caused by the earlier suspended component. So we should suppress any hydration warnings until the tree no longer suspends. Fixes react#23332 Co-authored-by: Marcel Laverdet <[email protected]>
* Failing test for react#23331 * Don't warn on hydration mismatch if suspended When something suspends during hydration, we continue rendering the siblings to warm up the cache and fire off any lazy network requests. However, if there are any mismatches while rendering the siblings, it's likely a false positive caused by the earlier suspended component. So we should suppress any hydration warnings until the tree no longer suspends. Fixes react#23332 Co-authored-by: Marcel Laverdet <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.