{"action":"created","issue":{"url":"https://api.github.com/repos/yahoo/fluxible/issues/220","labels_url":"https://api.github.com/repos/yahoo/fluxible/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/fluxible/issues/220/comments","events_url":"https://api.github.com/repos/yahoo/fluxible/issues/220/events","html_url":"https://github.com/yahoo/fluxible/issues/220","id":94358059,"number":220,"title":"ReducerStore addon","user":{"login":"mridgway","id":191142,"avatar_url":"https://avatars.githubusercontent.com/u/191142?v=3","gravatar_id":"","url":"https://api.github.com/users/mridgway","html_url":"https://github.com/mridgway","followers_url":"https://api.github.com/users/mridgway/followers","following_url":"https://api.github.com/users/mridgway/following{/other_user}","gists_url":"https://api.github.com/users/mridgway/gists{/gist_id}","starred_url":"https://api.github.com/users/mridgway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mridgway/subscriptions","organizations_url":"https://api.github.com/users/mridgway/orgs","repos_url":"https://api.github.com/users/mridgway/repos","events_url":"https://api.github.com/users/mridgway/events{/privacy}","received_events_url":"https://api.github.com/users/mridgway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/yahoo/fluxible/milestones/4","html_url":"https://github.com/yahoo/fluxible/milestones/v1.0","labels_url":"https://api.github.com/repos/yahoo/fluxible/milestones/4/labels","id":1200916,"number":4,"title":"v1.0","description":"","creator":{"login":"mridgway","id":191142,"avatar_url":"https://avatars.githubusercontent.com/u/191142?v=3","gravatar_id":"","url":"https://api.github.com/users/mridgway","html_url":"https://github.com/mridgway","followers_url":"https://api.github.com/users/mridgway/followers","following_url":"https://api.github.com/users/mridgway/following{/other_user}","gists_url":"https://api.github.com/users/mridgway/gists{/gist_id}","starred_url":"https://api.github.com/users/mridgway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mridgway/subscriptions","organizations_url":"https://api.github.com/users/mridgway/orgs","repos_url":"https://api.github.com/users/mridgway/repos","events_url":"https://api.github.com/users/mridgway/events{/privacy}","received_events_url":"https://api.github.com/users/mridgway/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":8,"state":"open","created_at":"2015-07-09T15:51:40Z","updated_at":"2015-09-14T21:38:11Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-07-10T17:52:39Z","updated_at":"2015-10-06T06:16:07Z","closed_at":null,"body":"This won't be part of core, but it should be easy to create a shared store that calls into reducers. This would most likely be a separate npm package or part of `fluxible-addons-react`.\r\n\r\nHere's what I was thinking:\r\n\r\n```js\r\ncreateReducerStore(storeName, {\r\n    'RECEIVED_MESSAGE': (state = 0, payload) => ({\r\n        return state + 1;\r\n    })\r\n});\r\n```\r\n\r\nThis would allow a reducer to be hooked up to the `RECEIVED_MESSAGE` event. The `storeName` would allow you to have multiple stores that you could then register the Fluxible instance just like normal."},"comment":{"url":"https://api.github.com/repos/yahoo/fluxible/issues/comments/145751105","html_url":"https://github.com/yahoo/fluxible/issues/220#issuecomment-145751105","issue_url":"https://api.github.com/repos/yahoo/fluxible/issues/220","id":145751105,"user":{"login":"geekyme","id":977460,"avatar_url":"https://avatars.githubusercontent.com/u/977460?v=3","gravatar_id":"","url":"https://api.github.com/users/geekyme","html_url":"https://github.com/geekyme","followers_url":"https://api.github.com/users/geekyme/followers","following_url":"https://api.github.com/users/geekyme/following{/other_user}","gists_url":"https://api.github.com/users/geekyme/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyme/subscriptions","organizations_url":"https://api.github.com/users/geekyme/orgs","repos_url":"https://api.github.com/users/geekyme/repos","events_url":"https://api.github.com/users/geekyme/events{/privacy}","received_events_url":"https://api.github.com/users/geekyme/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T06:16:07Z","updated_at":"2015-10-06T06:16:07Z","body":":+1: I agree. By the way just to clarify, would I be able to use a single store approach and hook on multiple reducers? or does this simply extend the multi-store approach to make each store use the reducers that are declared for each of them? "}}