The componentWillUpdate() method

The componentWillUpdate() method is invoked immediately before rendering when a new prop or state is being received. We can use this method to perform an action before the component gets updated.


This method will not be invoked if shouldComponentUpdate() returns false.
..................Content has been hidden....................

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