npmjs.org : @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.
Registry
-
Source
- Homepage
- JSON
- codemeta.json
purl: pkg:npm/%40custom-react-hooks/use-effect-once
License: MIT
Latest release: over 1 year ago
First release: about 2 years ago
Namespace: custom-react-hooks
Dependent packages: 1
Downloads: 2,350 last month
Stars: 28 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 25 days ago