dillon1000/react
Commit
Browse files Improve warning message for setState-on-unmounted (#12347)
This is one of the most common warnings people see, and I don't think the old text is especially clear. Improve it.
Changed paths2 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactCompositeComponent-test.js ModifiedM packages/react-reconciler/src/ReactFiberScheduler.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…