use-fetch-until-mounting
const fetch = useFetchUntilMounting([...dependencyList])
const fetch = useFetchUntilMounting([...dependencyList])
const resource = useAsyncResource(resolve => load => commit, [...dependencyList)
setInterval for promises and async functions. Support graceful shutdown and prevent multiple executions from overlapping in time.
> A set of tools to avoid race conditions in RxJS subscriptions.