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
use-safe-callback Latest Version Download
Download Latest Version (.zip)// repository documentation
Was this content helpful?
(0 ratings)
