Closed
Description
Hi @kentcdodds
I just noticed this today that react team removed the warning on setState on unmounted components - facebook/react#22114
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
In the workshop material, (Exercise: 02, Extra credit 03) we may need to highlight this and give a link to this pull request Remove the warning for setState on unmounted components as it claims these are not really memory leak.
Just opening this here as a feedback.