dillon1000/react

Commit

Preserve the original object when using replaceState

When we use only replace state we don't need to clone the object.
Browse files
Changed paths3 files
First-parent comparison
M scripts/fiber/tests-failing.txt ModifiedM scripts/fiber/tests-passing.txt ModifiedM src/renderers/shared/fiber/ReactFiberUpdateQueue.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…