You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currenttly react-native is usingthen/Promises which is missing reporting of unhandled exception/rejected promises.
This important feature is available in core-js which seems to work fine with JSC though I'm not seeing any official notes on compatibility.
I was able to just use npm i --save core-js and do import 'core-js' in order to run over the react-native polyfill.
I would love to try and turn this into a pull request unless there's something I'm missing here
The text was updated successfully, but these errors were encountered:
Summary:
Adds support for tracking unhandled rejections with `console.warn` (= yellow box).
I will create a follow-up with proper error stack formatting.
related: #4971fixes: #4045, #4142
public
{F59857438}
{F59857439}
Reviewed By: bestander
Differential Revision: D2803126
fb-gh-sync-id: 376b33e42a967675a04338cbff3ec315a77d1037
Summary:
Adds support for tracking unhandled rejections with `console.warn` (= yellow box).
I will create a follow-up with proper error stack formatting.
related: facebook#4971fixes: facebook#4045, facebook#4142
public
{F59857438}
{F59857439}
Reviewed By: bestander
Differential Revision: D2803126
fb-gh-sync-id: 376b33e42a967675a04338cbff3ec315a77d1037
facebook
locked as resolved and limited conversation to collaborators
Jul 20, 2018
Currenttly react-native is using then/Promises which is missing reporting of unhandled exception/rejected promises.
This important feature is available in core-js which seems to work fine with JSC though I'm not seeing any official notes on compatibility.
I was able to just use
npm i --save core-js
and doimport 'core-js'
in order to run over the react-native polyfill.I would love to try and turn this into a pull request unless there's something I'm missing here
The text was updated successfully, but these errors were encountered: