Q. Which lifecycle method is invoked after a component is removed from the DOM?
β
Correct Answer: (B)
componentWillUnmount
Explanation: `componentWillUnmount` is called before a component is unmounted and destroyed.