Using React Error Boundariesuse to handle errors in React componentsin react call stack, render method, useEffect callbacknot errors in event listenersnot errors in async callback like in promise handlershave to use class-based componentsTo Review Using React Error Boundaries