dillon1000/react
Commit
Browse files Don't set DOM attributes to `"undefined"` on update
We already skip `null` and `undefined` when building up the stringified html on first render, but if you update a component to the *exact same* conditions, React will leave the DOM in a different state. We shouldn't do that.
Changed paths1 file
First-parent comparisonsrc/core/ReactDOMIDOperations.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…