DEV Community

Discussion on: Cancel your promises when a component unmounts

Collapse
 
varuns924 profile image
Varun S

What if I don't want to cancel the promise when the component unmounts? How do I do this without a memory leak?