4 packages found

    A custom hook to cancel unresolved promises when a component unmounts to prevent memory leaks

    published 1.0.1 2 years ago
    M
    Q
    P

    React Hook for creating a cancelable promise. Useful for avoiding state mutations after a component has unmounted

    published 2.0.1 7 months ago
    M
    Q
    P

    React hook to make promises cancelable and safe

    published 0.0.2 2 years ago
    M
    Q
    P

    Asynchronous versions of the `useEffect` and` useCallback` hooks that able to cancel internal code by user requests or component unmounting

    published 0.12.2 4 months ago
    M
    Q
    P