dillon1000/react

Commit

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.
Browse files
Changed paths2 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactCompositeComponent-test.js ModifiedM packages/react-reconciler/src/ReactFiberScheduler.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…