componentWillUnmount method

void componentWillUnmount()

Called when the node will unmount (lifecycle method)

Implementation

void componentWillUnmount() {
  // Base implementation does nothing
}