use-async-effect icon indicating copy to clipboard operation
use-async-effect copied to clipboard

:running: Asynchronous side effects, without the nonsense

Results 3 use-async-effect issues
Sort by recently updated
recently updated
newest added

Your source uses `mounted` internally but the types suggest using `isActive` instead: https://github.com/rauldeheer/use-async-effect/blob/c20d83159cf5128c40a84722c563a7ba42524944/index.js#L11-L12 https://github.com/rauldeheer/use-async-effect/blob/c20d83159cf5128c40a84722c563a7ba42524944/types/index.d.ts#L7-L8 > I think `isMounted` is a more common name for the variable > > It reflects...

Hi, this is a really nice work. What do you think about adding a "linter" section in documentation ? Based on this page : https://www.npmjs.com/package/eslint-plugin-react-hooks i think a ``` 'react-hooks/exhaustive-deps':...

When I wanted to add linting support to my `useAsyncEffect` hook as described in the README, I encountered the mentioned linting issue with the async callback. On my search for...