use-safe-callback
MITWrap 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.
68
Security score
0 known advisories in v1.0.2
OpenSSF Scorecard 2.9/10
Weekly downloads
—
Unpacked size
10.1 kB
Dependencies
0
Last publish
6 years ago
Security advisories
No known vulnerabilities affect v1.0.2.
OpenSSF ScorecardJul 27, 2026
- Binary-Artifacts10
- Code-Review1
- Maintained0
- Dangerous-Workflow10
- Pinned-Dependencies0
- Token-Permissions0
- CII-Best-Practices0
- Security-Policy0
- Fuzzing0
- License10
- Branch-Protection0
- SAST0