bergie / VIE

Semantic Interaction Framework for JavaScript
http://viejs.org/
MIT License
303 stars 56 forks source link

Request: Jquery deferred => ES6 promises #172

Open rektide opened 7 years ago

rektide commented 7 years ago

Hello. What rational is there for going with jquery's very similar but also different deferred in VIE 2.0, over what the rest of the JavaScript world is moving to, ES6 Promises?

Tis just my own opinion, but this seems like an extremely odd choice that will severely hamper adoptability of VIE. I also think Promises are a clearly better choice, siding with this characterization of why jquery deferred falls short:

The thing is, promises are not just about callback aggregation but also act a direct correspondence between synchronous functions and asynchronous functions.)