Utilise state and other data on component unmount with minimal code. Often used as the hooks alternative to componentWillUnmount.