Back to quizzes
Error Boundaries Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What is the primary purpose of an error boundary in React?
A
To catch JavaScript errors in child components.
B
To manage state across components.
C
To handle asynchronous operations.
D
To optimize rendering performance.