npmjs.org : @ptolemy2002/react-mount-effects
React allows `useEffect(() => {callback()}, [])` to run the callback only on first mount, thus `useEffect(() => callback, [])` only runs on unmounting. However, eslint often complains about this. This library manually suppresses those warnings and exports
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/%40ptolemy2002/react-mount-effects
License:
Latest release: 6 months ago
First release: 9 months ago
Namespace: ptolemy2002
Downloads: 16 last month
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago