Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the purpose of the componentDidCatch lifecycle method?
This lifecycle is invoked after an error has been thrown by a root component
This lifecycle is invoked right before calling the render method, both on the initial mount and on subsequent updates
This lifecycle is invoked after an error has been thrown by a descendant component
This lifecycle invoked right before the most recently rendered output is committed to e.g. the DOM
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!