Following the React change, we should also add support for onCaughtError and onUncaughtError. More details [here](https://github.com/reactjs/react.dev/pull/6742) FYI - @eps1lon
Following the React change, we should also add support for onCaughtError and onUncaughtError.
More details here
FYI - @eps1lon