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

MIT License

Downloads
3.2K
Stars
12
Committers
4

Commit Statistics

Past Year

All Time

Total Commits
0
33
Total Committers
0
4
Avg. Commits Per Committer
0.0
8.25
Bot Commits
0
21

Issue Statistics

Past Year

All Time

Total Pull Requests
0
100
Merged Pull Requests
0
16
Total Issues
0
0
Time to Close Issues
N/A
N/A