dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/fiber/ReactDOMFiberComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…