dillon1000/react

Commit

Fetch DOM node lazily for updates

Previously, we fetched the node once for every changed attribute. In my createElement diff, I changed it to fetch the node (once) regardless of if there were changes -- fetching it once only if there are changes is even better.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/shared/ReactDOMComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…