dillon1000/react
Commit
Browse files Don't set innerHTML if content is empty (#8526)
From D4296244: > Each [...] had a component with innerHTML = '', causing us to go into HTML parsing code in the browser. Doing this takes 0.03ms per parse call which was 10x slower than skipping it.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/stack/client/ReactDOMComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…