Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Why use RSVP.Promise instead of ES6 Promises?

$
0
0

@skitterm wrote:

Syntax question about promises in Ember…

I was wondering why Ember uses RSVP promises instead of native ES6 promises. Some of the older posts mentioned the vices of jQuery deferred, but now that we have ES6 promises in almost every browser, is there a reason Ember hasn’t switched to using those instead of RSVP.promise?

One of the drawbacks of Ember for me is having to use ember syntax instead of vanilla js (i.e. this.get(‘foo’) instead of this.foo). It’d be awesome if promises weren’t a different syntax in ember as well.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles