In my component, I've this code
componentDidMount(){
AppStore.addChangeListener(this._onUpdate);
}
In my store, addChangeListener definition exist
emitChange: function() {
this.emit(CHANGE_EVENT);
},
addChangeListener: function(callback) {
this.on(CHANGE_EVENT, callback);
},
"_onUpdate" on the component gets called just once when the Store emits Change. When promise is resolved after a few minutes, store does emit another change but the component wouldn't catch that event for some reason.
Appreciate any suggestions.