dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactDOMIDOperations.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…