Q. Which lifecycle method is invoked immediately after a component is mounted in React class components?
β
Correct Answer: (A)
componentDidMount
Explanation: componentDidMount is called after the component is inserted into the DOM.