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

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

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