component did update methods in react js code example Example: component did mmount componentDidMount()