dillon1000/react

Commit

Fix incorrect update of style when props.style transitions from null to non-null

ReactDOMComponent maintains a copy of the previous style
object to support in-place mutations of props.style.

This cached object was not cleared when the style
property was removed in a props update.

Fixes #3409
Browse files
Changed paths2 files
First-parent comparison
M src/browser/ui/ReactDOMComponent.js ModifiedM src/browser/ui/__tests__/ReactDOMComponent-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…