dillon1000/react
Commit
Browse files Update findComponentRoot and processUpdates warnings for SVG
I ran into a really difficult-to-debug issue with a React app with SVG elements. Christopher sat down with me for a while and we finally figured out that the browser was moving non-SVG elements out of a parent `<svg>` node which triggered the `processUpdates()` invariant. This updates the error message thrown from there to include this scenario in the possible issues list.
Changed paths3 files
First-parent comparisonsrc/browser/ui/ReactMount.js ModifiedM src/browser/ui/dom/DOMChildrenOperations.js ModifiedM src/core/__tests__/ReactInstanceHandles-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…