componentWillUnmount

Unmounting: componentWillUnmount

void componentWillUnmount()

Invoked immediately before a component is unmounted from the DOM.

Perform any necessary cleanup in this method, such as invalidating timers or cleaning up any DOM elements that were created in componentDidMount.

doc_React
2016-06-23 03:31:50
Comments
Leave a Comment

Please login to continue.