use-did-update
Calls given function in useEffect when value changes, but not when the component mounts
Source
Docs
Package
Usage
use-did-update hook works the same way as useEffect but it is not called when component is mounted:
Calls given function in useEffect when value changes, but not when the component mounts
Source
Docs
Package
use-did-update hook works the same way as useEffect but it is not called when component is mounted: