@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.
Ecosystem
npmjs.org
npmjs.org
Latest Release
over 1 year ago
1.5.1
over 1 year ago
Versions
8
8
Downloads
2,350 last month
2,350 last month
Dependent Packages
1
1
Loading...
Readme
Loading...
Links
| Registry | npmjs.org |
| Source | Repository |
| Homepage | Homepage |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:npm/%40custom-react-hooks/use-effect-once
spec |
| License | MIT |
| Namespace | custom-react-hooks |
| First Release | about 2 years ago |
| Last Synced | 13 days ago |
Repository
| Stars | 28 on GitHub |
| Forks | 1 on GitHub |