dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/stack/client/ReactDOMComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…