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
{{ message }}
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
Aren't Bluebird promises more performant? That was the only reason I was thinking of using them - is there a link you could point me to for the polyfill?
Pretty sure they are, but for interop it's nice to have just the bare promise implementation without all the fancy combinators that people will have to learn to contribute. That will probably also make it easier when this eventually migrates to async functions.
In terms of polyfills, you could even just make use of bluebird, but there's also es6-promise, promise-polyfill, promise, and a slew of others to choose from.
I'm not too confident writing my own polyfill, thinking of using any-promise with Bluebird. Is it as simple as doing that or am I missing something else?
BTW thanks for all your input, highly appreciated 😄
Definitely don't bother writing your own. Any-promise is pretty sweet, I've used it in a bunch of projects so far. Though in my case I was leaving it up to users to actually install the polyfill they wanted.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Uh oh!
There was an error while loading. Please reload this page.
bluebird
torsx-common
v0.2.*
Useful link: https://60devs.com/best-practices-for-using-promises-in-js.html
The text was updated successfully, but these errors were encountered: