bergie / VIE

Semantic Interaction Framework for JavaScript

Home Page:http://viejs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: Jquery deferred => ES6 promises

rektide opened this issue · comments

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.)