Rejected Promises Bypass React Error Boundaries: Where Should Async Failures Land?
Documented gap: boundaries skip handlers and async code React Error Boundaries catch errors thrown during rendering, in lifecycle methods, and in constructors below them, but the documentation is explicit that they do not catch errors in event handlers or asynchronous callbacks such as promise rejections, setTimeout, or requestAnimationFrame. In a React 18 s