dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/shared/stack/reconciler/ReactCompositeComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…