使用扩展Ember.Checkbox的组件时,我收到此弃用警告:
In Ember 2.0 component factories must have an `isComponentFactory` property set to true. You registered (subclass of Ember.Checkbox) as a component factory. Either add the `isComponentFactory` property to this factory or extend from Ember.Component.
我很感激对这背后逻辑的一个很好的解释。