dillon1000/react
Commit
Browse files Should be able to setState inside cWRP before assigning to this.state
...without dropping the update. This won't work the other way around, if you assign to this.state before calling setState. we'll add a deprecation warning so people stop relying on this pattern.
Changed paths1 file
First-parent comparisonsrc/renderers/shared/stack/reconciler/ReactCompositeComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…