The componentWillUnmount() method

This method is invoked immediately before a React Component is unmounted and destroyed. Here, we can perform any necessary cleanup, such as canceling network requests or cleaning up any subscription that was created in componentDidMount.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset