How does error boundaries work in React? - Study24x7
Social learning Network
1 follower study24x7 18 Apr 2024 10:30 AM study24x7 study24x7

How does error boundaries work in React?

A

They prevent all errors in the application

B

They catch JavaScript errors anywhere in the component tree and log those errors 

C

They only work with class components

D

They handle only asynchronous errors

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles