what should componentdid mount does in react code example Example: component did mmount componentDidUpdate(prevProps, prevState, snapshot)