dillon1000/react

Commit

Respect state set in componentWillMount() on resuming (#8079)

When resuming creating new instance after resuming work, we should set the `state` on the newly creating instance rather than the old one.
Browse files
Changed paths2 files
First-parent comparison
M src/renderers/shared/fiber/ReactFiberClassComponent.js ModifiedM src/renderers/shared/fiber/__tests__/ReactIncremental-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…