dillon1000/react

Commit

Move HTML and SVG configs into DOMProperty (#11728)

* Inline HTML and SVG configs into DOMProperty

* Replace invariants with warnings

These invariants can only happen if *we* mess up, and happen during init time.
So it's safe to make these warnings, as they would fail the tests anyway.

* Clearer variable naming
Browse files
Changed paths7 files
First-parent comparison
M packages/react-dom/src/client/ReactDOM.js ModifiedM packages/react-dom/src/server/ReactDOMServerBrowser.js ModifiedM packages/react-dom/src/server/ReactDOMServerNode.js ModifiedM packages/react-dom/src/shared/DOMProperty.js ModifiedD packages/react-dom/src/shared/HTMLDOMPropertyConfig.js DeletedD packages/react-dom/src/shared/ReactDOMInjection.js DeletedD packages/react-dom/src/shared/SVGDOMPropertyConfig.js Deleted
Patch

Files changed

Rendering syntax-highlighted changes…