dillon1000/react
Commit
Browse files Warn when mixing createRoot() and old APIs (#14615)
* Warn when mixing createRoot() and old APIs * Move container checks to entry points This way further warning check doesn't crash on bad inputs. * Fix Flow * Rename flag to be clearer * managed by -> passed to * Revert accidental change * Fix Fire shim to match
Changed paths3 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactDOMRoot-test.js ModifiedM packages/react-dom/src/client/ReactDOM.js ModifiedM packages/react-dom/src/fire/ReactFire.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…