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


#1

Hi,

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


#2

I think you can use regular Sets instead.


#3

Because ES6 has native set and Ember.Set “isn’t aligned correctly with ES6 sets”. See this Github issue: