Which component lifecycle method is used to perform the cleanup when the component is removed from the DOM?
componentWillUnmount() is invoked immediately before a component is unmounted and destroyed. Cleanup that needs to happen before the component is removed from the DOM should go here.