dillon1000/react
Commit
Browse files Get rid of the previousStyleCopy
We have warned about not mutating styles already. At this point we can just freeze the style object in DEV. That way we can read it from the previous props object without storing another copy of it. Also delete the associated warning.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/fiber/ReactDOMFiberComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…