Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-warning-cant-call-setstate-on-an-unmounted-component: AbortController Section #91

Open
rwieruch opened this issue Mar 19, 2019 · 0 comments

Comments

@rwieruch
Copy link
Owner

rwieruch commented Mar 19, 2019

https://github.com/rwieruch/blog_robinwieruch_content/blob/master/react-warning-cant-call-setstate-on-an-unmounted-component.md

Add alternative solution with AbortController + Fetch. It could be another section of the article as alternative to the _isMounted approach.

See https://github.com/robertoachar/react-fetch-abort-controller/blob/master/src/components/App.jsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant