A. By using the "try-catch" block in the component's render method
B. By using the "componentDidCatch" lifecycle method to catch and handle errors
C. By using global error handling provided by the browser
D. None of the above
Correct Answer is :
B. By using the "componentDidCatch" lifecycle method to catch and handle errors