DEV Community

Discussion on: Avoid Memory Leak With React SetState On An Unmounted Component

Collapse
 
yawaramin profile image
Yawar Amin

I recently also found this method to cancel a fetch request: developers.google.com/web/updates/...

Looks like it's fairly widely supported now.

Collapse
 
sophiabrandt profile image
Sophia Brandt

Wow, that's great to know. Thank you for pointing this out.