-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-standard behavior of Promise.prototype.finally #19490
Labels
Bug
JavaScript
📮Known Issues
This indicates an issue that refers to a bug or limitation of RN that is not currently being handled
Resolution: Locked
This issue was locked by the bot.
Comments
leeyeh
added a commit
to leeyeh/js-realtime-sdk
that referenced
this issue
May 31, 2018
until facebook/react-native#19490 is fixed.
hramos
added
📮Known Issues
This indicates an issue that refers to a bug or limitation of RN that is not currently being handled
and removed
Core Team
labels
Mar 8, 2019
I'm currently landing a fix for this. |
@cpojer What is the appropriate issue to track to follow this fix? (And thanks for addressing the problem. :-) |
There is no issue, this was already landed on master last week. |
For those looking for the commit like me: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Bug
JavaScript
📮Known Issues
This indicates an issue that refers to a bug or limitation of RN that is not currently being handled
Resolution: Locked
This issue was locked by the bot.
Environment
Steps to Reproduce
https://snack.expo.io/r1wCcj5JQ
Expected Behavior
console: 42
Actual Behavior
console: undefined
I did some digging around, finding that the polyfilled Promise imported from fbjs is not implemented right:
https://github.com/facebook/fbjs/blob/v0.8.16/src/__forks__/Promise.native.js#L18-L23
There is already an issue about this years ago: facebook/fbjs#132
Another related issue: #17972
The text was updated successfully, but these errors were encountered: