dillon1000/react
Commit
Browse files 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
Changed paths2 files
First-parent comparisonsrc/browser/ui/ReactDOMComponent.js ModifiedM src/browser/ui/__tests__/ReactDOMComponent-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…