Also news to me. I just looked into it a bit more and wrote up some other AbortSignal things i learned today - codedrivendevelopment.com/posts/everythi…
Also news to me. I just looked into it a bit more and wrote up some other AbortSignal things i learned today - codedrivendevelopment.com/posts/everythi…
9
68
1K
96K
288
@CodeDrivenDev Great post, thanks for sharing. What do you mean with the memory leaks? Is it if you're unmounting the component and the event handler is still attached, right? So the fix, is to remove the handler in a useEffect?