Sign in Sign up
npm

@custom-react-hooks/use-effect-once

`useEffectOnce` is a custom hook in React designed to mimic the behavior of `componentDidMount` and `componentWillUnmount` lifecycle methods in class components. It's a modified version of `useEffect` that runs only once when the component mounts.

Activity

Latest release
2y ago
Total releases
8
Cadence
~daily
Last 12 months
0

Reach

Stars

Details

License
MIT
First release
Dec 01, 2023
Releases
Version Released
1.5.1 patch
1.5.0 minor
1.4.19 patch
1.4.18 patch
1.4.16 patch
1.4.15 patch
1.4.14 patch
1.4.12 initial