react-useunmount (npm): Utilise state and other data on component unmount with minimal code. Often used as the hooks alternative to componentWillUnmount.
Keywords: react|react hooks|react unmount hook|componentWillUnmount