dillon1000/react
Commit
Browse files Don't interpret reserved props as attributes for SVG elements
This fixes a bug introduced in #5714. The code paths are now similar to web components where we worked around the same issue in #5093. Additionally, we also skip dangerouslySetInnerHTML and suppressContentEditableWarning.
Changed paths2 files
First-parent comparisonsrc/renderers/dom/shared/ReactDOMComponent.js ModifiedM src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…