[reactjs] When to use React "componentDidUpdate" method?