Stop checking if your component is mounted - React anti-pattern
pier-verdu opened this issue ยท 3 comments
pier-verdu commented
First of all, thank you very much for your article :)
About:
Understand the warning "Can't perform state update on unmounted component". See PR: facebook/react/pull/22114, Reddit/u/free_username17
Maye add this one
Article:
https://medium.com/doctolib/react-stop-checking-if-your-component-is-mounted-3bb2568a4934
mithi commented
Hi @Pierre-CLIND !
Thanks for sharing ๐ . If you're inclined, you can submit a PR
Under the collapsible section Thanks for all the PRs ๐, coffee โ, recommended readings ๐, and sharing of ideas ๐ก (View contributors), (under Readings recommended to me)
And add that a link to that article. Thanks again!
pier-verdu commented
Thanks to you @mithi :)