Ember 1.8.0-beta.1 Ember.Set is deprecated. Why?


I’ve updated EmberJs to 1.8.0-beta.1 and I see a warning that the usage of Ember.Set is deprecated. I have not found any docs online saying why it’s deprecated and what should be used instead? Should I migrate my code to use Ember.Array instead?

Best regards, Alex

I think you can use regular Sets instead.

Because ES6 has native set and Ember.Set “isn’t aligned correctly with ES6 sets”. See this Github issue: https://github.com/emberjs/ember.js/pull/5229