Hacker News new | ask | show | jobs
by idkwhoiam 1189 days ago
> Here's my implementation, for the record: https://pastebin.com/rjj0FDDd

This implementation doesn't account for the fact that the promise may settle after the component has been unmounted.