mithi/react-philosophies

Stop checking if your component is mounted - React anti-pattern

pier-verdu opened this issue ยท 3 comments

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!

mithi commented

Resolved: 4ac7ffa

Thanks @Pierre-CLIND ! ๐Ÿ˜Š

Thanks to you @mithi :)