dillon1000/react
Commit
Browse files 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.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/shared/ReactDOMComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…