Question: Which class-based lifecycle method would be called at the same time as this effect Hook?

  1. componentWillUnmount
  2. componentDidUpdate
  3. render
  4. componentDidMount

Answer: The correct answer of the above question is Option D:componentDidMount