sergiodxa / use-safe-callback

Wrap a function to ensure you never call it if a component is unmounted, useful to avoid cases where an async code could finish after a component has unmounted and it tries to update a state
12Updated 2 years ago

Alternatives and similar repositories for use-safe-callback:

Users that are interested in use-safe-callback are comparing it to the libraries listed below