@kodai3/use-promise (npm): React Lifecycle hook that returns a helper function for wrapping promises. Promises wrapped with this function will resolve only when component is mounted.
Keywords: react|hooks