dillon1000/react

Commit

simplify `mountImageIntoNode`'s way of putting markup in innerHTML

Instead of removing the node from the document before changing its innerHTML, just do it directly.
The comment seems to be outdated for years. http://jsperf.com/detach-while-setting-innerhtml
Browse files
Changed paths1 file
First-parent comparison
M src/browser/ReactComponentBrowserEnvironment.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…