dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonsrc/renderers/__tests__/ReactCompositeComponentState-test.js ModifiedM src/renderers/shared/fiber/ReactFiberClassComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…