dillon1000/react

Commit

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
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactServerRendering-test.js ModifiedM packages/react-dom/src/client/ReactDOM.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…