use-watcher
ISCThe `useWatcher` React hook runs a function when a prop, state or other value changes, and gives you easy access to both the previous and next values. Think of it as the functional equivalent of `componentDidUpdate` and `getDerivedStateFromProps`.
85
Security score
0 known advisories in v5.0.5
Weekly downloads
1
Unpacked size
5.2 kB
Dependencies
0
Last publish
4 years ago
Security advisories
No known vulnerabilities affect v5.0.5.
Downloads — last 30 days
27 total▼ 93.8% vs prior week
Aug 25Sep 23