You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working in a component/controller context (where this.set, this.setProperties, and this.get exist) prefer the use of this.get, this.set, and this.setProperties.
When working with an object that has been given to us (as a parameter/property for instance) prefer the use of Ember.get(foo, 'propertyName'), Ember.set(foo, 'propertyName') and Ember.setProperties(foo, {}). Destructuring the functions is acceptable const { get } = Ember
The text was updated successfully, but these errors were encountered:
When working in a component/controller context (where
this.set
,this.setProperties
, andthis.get
exist) prefer the use ofthis.get
,this.set
, andthis.setProperties
.When working with an object that has been given to us (as a parameter/property for instance) prefer the use of
Ember.get(foo, 'propertyName')
,Ember.set(foo, 'propertyName')
andEmber.setProperties(foo, {})
. Destructuring the functions is acceptableconst { get } = Ember
The text was updated successfully, but these errors were encountered: