Twitter | Search | |
Ryan Yurkanin
Ah yes, you'd have to use useEffect to cancel your calls still! Great point. ๐Ÿ˜ That definitely smells like a very useful hook that has that behavior baked in. It returns resource and fetch and on unmount cancels all pending promises in the resource
Reply Retweet Like More
Replying to