These are chat archives for reflux/refluxjs

12th
Feb 2016
11th
@11th
Feb 12 2016 19:43
Hi there. Thanks for reflux, love it's simplicity.
Today I ran into trouble. There is no check to prevent store from listening to 2 different actions but with same name.
e.g. in store:
listenables: [UserActions, AdminActions]
if both user and admin have #saveProfile action then it will have unexpected behavior.
This example is ugly in design I just made it up. E.g. admin can have separate store or whatever.
The point is, it would be nice to get warning if this situation. Like react mixin - it will warn when multiple mixins have same method :)
devin ivy
@devinivy
Feb 12 2016 19:53
@11th definitely open an issue in reflux-core, and we'll figure out how to deal with it!