react classes how to update a component code example Example: component did mmount componentDidMount()