dillon1000/react

Commit

Support assigning directly to this.state inside cWRP

We don't explicitly support this but it happens to work in Stack. We'll
give it the same semantics as replaceState.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/__tests__/ReactCompositeComponentState-test.js ModifiedM src/renderers/shared/fiber/ReactFiberClassComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…