componentDidMount() is a hook that gets invoked right after a React component has been mounted aka after the first render() lifecycle.
componentDidUpdate(prevProps, prevState, snapshot)