Question: When does the componentDidMount function fire?
- right after the component is added to the DOM
- before the component is added to the DOM
- right after the component is updated
- 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