React ErrorBoundary Not Catching Errors – Red Screen with CRA Error Overlay
i’m working on a React application where I’ve implemented an ErrorBoundary component to catch and handle errors in my application. However, when I deliberately introduce an error in one of my components, I still get the Create React App (CRA) red error overlay instead of my custom error boundary’s fallback UI.
Here is my ErrorBoundary component: