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