dillon1000/react

Commit

Avoid lastProps[key] lookup in initial render

This makes both Firefox and IE 15-20% faster in initial render (!!). On my PE benchmark, createElement is now on par with HTML in Firefox and faster in IE11 (before, it was slower).
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/shared/ReactDOMComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…