In my project some of the Component life cycle hook methods don't have this._super(...arguments)
such as didRecieveAttrs
, didUpdateAttrs
, didRender
, didInsertElement
and willDestroyElement
. but I didn't face any issue. should I change to include or not ?
I know if we override init
for a framework class like Ember.Component
, be sure to call this._super(...arguments)
in our init declaration! If we don't, Ember may not have an opportunity to do important setup work, and we'll see strange behavior in your application. (ref)
Aucun commentaire:
Enregistrer un commentaire