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
Promises #753
Comments
If you're using bluebird then there's no real reason to stop. It provides a superset of the features and methods available in ES6 Promises so you're likely going to be relying on some of those already. |
/pedantic statement actually it is an improper superset, more like c <-> c++. As it diverges in some scenarios, including subclassing. But don't let me scare you from it, bluebird is a rock solid promise implementation. /#pedantic statement |
@stefanpenner Ah great, thanks for the clarification. I'm not familiar with the Promise ecosystem as much as I'd like. |
If people don't utilize the a good proportion of the feature set, it may be slightly byte size heavy. But the 2-4 extra TCP packets it costs I doubt hurt anyone. In most cases, the cost of thinking saving those bytes is higher. |
Thanks for the input here guys. Very helpful. |
Hi,
I've been using Bluebird in some of my other ECMA5 projects to provide support for promises. I'm looking to build a new project using ECMA6 and will need support for Promises. Since the whole ECMA6 and 6to5 thing is still so new, I'm struggling to understand the best way to add this to my project.
Do I just use Bluebird as per my ECMA5 code or is there a good way to do this using 6to5 ?
This is an example of my working my ECMA5 code:
The text was updated successfully, but these errors were encountered: