Question: When does the componentDidMount function fire?

  1. right after the component is added to the DOM
  2. before the component is added to the DOM
  3. right after the component is updated
  4. right after an API call

Answer: The correct answer of the above question is Option A:right after the component is added to the DOM