These are chat archives for reflux/refluxjs

11th
Apr 2016
Vladyslav
@kopylash
Apr 11 2016 14:57
Hey, everybody)
devin ivy
@devinivy
Apr 11 2016 14:58
hello!
Vladyslav
@kopylash
Apr 11 2016 14:58
Can you help me with such issue: I have aggregate store that subscribes for another store
can I also subscribe for another action in aggregated store?
Because when I am trying to do it I catch error
devin ivy
@devinivy
Apr 11 2016 15:00
if you have any code to share that would be useful. but i think the answer to your question is yes. reflux doesn't distinguish listening to stores versus actions, so they should be able to be listened to together.
what is the error?
Vladyslav
@kopylash
Apr 11 2016 15:00
one minute
when I want to add this.listenTo(Actions.someAction, this.someHandler) to TestStore
Vladyslav
@kopylash
Apr 11 2016 15:05
sorry, I've just tested that it works
maybe the root cause in webpack or react-router
devin ivy
@devinivy
Apr 11 2016 15:06
ah, nice! i was going to say– it looks good to me!
:thumbsup:
Vladyslav
@kopylash
Apr 11 2016 15:06
because in another module it does not :(
Event Controller inspired in Flux for Riot.js :)