An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.2% on npmjs.org
Top 1.1% downloads on npmjs.org
Top 5.9% dependent packages on npmjs.org
Top 3.3% dependent repos on npmjs.org

npmjs.org : 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.

Registry - Source - Homepage - JSON
purl: pkg:npm/use-safe-callback
Keywords: hooks , react , react-hooks , react-state , safe-callbacks
License: MIT
Latest release: about 5 years ago
First release: about 5 years ago
Dependent packages: 3
Dependent repositories: 13
Downloads: 3,173 last month
Stars: 12 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://patreon.com/sergiodxa, https://github.com/sponsors/sergiodxa, https://paypal.me/sergiodxa
Last synced: 12 days ago

    Loading...
    Readme
    Loading...