use-update-effect

useUpdateEffect is a React hook implementation of componentDidUpdate

// repository documentation