Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

Detecting duplicate hooks in component

$
0
0

@bracke wrote:

Hi

Is there any way to make ember-cli warn about duplicate hooks in a component?

Example:

didReceiveAttrs(){
	this._super(...arguments);
..
...

},
..
..
.
..
.
.
didReceiveAttrs(){
	this._super(...arguments);
..
..
},

I just wasted an hour figuring out why my code (the first one) was not being called :slight_smile:

kind regards

Bent Bracke

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles