dillon1000/react
Commit
Browse files Drop "previous style" copy from Stack to bring it inline with Fiber
We've already been warning for mutating styles so now we'll freeze them in DEV instead. This isn't as good because we don't have more specific warnings than the generic error that doesn't even fire in sloppy mode. This lets Fiber pass the same tests.
Changed paths4 files
First-parent comparisonscripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js ModifiedM src/renderers/dom/stack/client/ReactDOMComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…