Throw special error if rejected Promises are incorrectly instrumented… (opens in new tab)
… (#36328) When a rejected `Promise` is instrumented in userspace while setting the rejection reason in the wrong field (e.g. `error` instead of `reason`), React will throw undefined (because `usa...
Read the original article