dillon1000/react

Commit

Add deprecation warning for assigning to this.state inside cWRP

We'll remove support for this in a future release, though we'll likely
still warn.
Browse files
Changed paths3 files
First-parent comparison
M src/renderers/__tests__/ReactCompositeComponentState-test.js ModifiedM src/renderers/shared/fiber/ReactFiberClassComponent.js ModifiedM src/renderers/shared/stack/reconciler/ReactCompositeComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…