@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
Activity
- Latest release
- 7mo ago
- Total releases
- 11
- Cadence
- ~daily
- Last 12 months
- 1
Reach
- Stars
- —
Details
- License
- ISC
- First release
- Jul 24, 2024
Releases