dillon1000/react
Commit
Browse files Fix autoFocus for hydration content when it is mismatched (#11737)
* Fix autoFocus for hydration content when it is mismatched * Add a test for mismatched content * Fix a test for production * Fix a spec description and verify console.error output * Run prettier * finalizeInitialChildren always returns `true` * Revert "finalizeInitialChildren always returns `true`" This reverts commit 58edd228046bcafcbcd04a70cb5e78520b50a07e. * Add a TODO comment * Update ReactServerRendering-test.js * Update ReactServerRendering-test.js * Rewrite the comment
Changed paths2 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactServerRendering-test.js ModifiedM packages/react-dom/src/client/ReactDOM.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…