{"action":"created","issue":{"url":"https://api.github.com/repos/acdlite/flummox/issues/132","labels_url":"https://api.github.com/repos/acdlite/flummox/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/acdlite/flummox/issues/132/comments","events_url":"https://api.github.com/repos/acdlite/flummox/issues/132/events","html_url":"https://github.com/acdlite/flummox/issues/132","id":66000834,"number":132,"title":"Add injectActions prop to FluxComponent / HoC that works like connectToStores","user":{"login":"acdlite","id":3624098,"avatar_url":"https://avatars.githubusercontent.com/u/3624098?v=3","gravatar_id":"","url":"https://api.github.com/users/acdlite","html_url":"https://github.com/acdlite","followers_url":"https://api.github.com/users/acdlite/followers","following_url":"https://api.github.com/users/acdlite/following{/other_user}","gists_url":"https://api.github.com/users/acdlite/gists{/gist_id}","starred_url":"https://api.github.com/users/acdlite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdlite/subscriptions","organizations_url":"https://api.github.com/users/acdlite/orgs","repos_url":"https://api.github.com/users/acdlite/repos","events_url":"https://api.github.com/users/acdlite/events{/privacy}","received_events_url":"https://api.github.com/users/acdlite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/acdlite/flummox/milestones/1","html_url":"https://github.com/acdlite/flummox/milestones/4.0","labels_url":"https://api.github.com/repos/acdlite/flummox/milestones/1/labels","id":1050743,"number":1,"title":"4.0","description":"","creator":{"login":"acdlite","id":3624098,"avatar_url":"https://avatars.githubusercontent.com/u/3624098?v=3","gravatar_id":"","url":"https://api.github.com/users/acdlite","html_url":"https://github.com/acdlite","followers_url":"https://api.github.com/users/acdlite/followers","following_url":"https://api.github.com/users/acdlite/following{/other_user}","gists_url":"https://api.github.com/users/acdlite/gists{/gist_id}","starred_url":"https://api.github.com/users/acdlite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acdlite/subscriptions","organizations_url":"https://api.github.com/users/acdlite/orgs","repos_url":"https://api.github.com/users/acdlite/repos","events_url":"https://api.github.com/users/acdlite/events{/privacy}","received_events_url":"https://api.github.com/users/acdlite/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-04-02T18:02:31Z","updated_at":"2015-04-02T20:38:56Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-04-02T20:02:54Z","updated_at":"2015-04-04T05:54:09Z","closed_at":null,"body":"```js\r\n<FluxComponent\r\n  connectToStores=\"myStore\"\r\n  injectActions=({\r\n    myActions: actions => ({\r\n      actionA: actions.actionA,\r\n      actionB: actions.actionB,\r\n    })\r\n  })\r\n  render={(storeState, actions, flux) => <ChildComponent {...actions} {...storeState} />}\r\n/>\r\n```\r\nIs this a useful feature? Do people want this?"},"comment":{"url":"https://api.github.com/repos/acdlite/flummox/issues/comments/89509432","html_url":"https://github.com/acdlite/flummox/issues/132#issuecomment-89509432","issue_url":"https://api.github.com/repos/acdlite/flummox/issues/132","id":89509432,"user":{"login":"johanneslumpe","id":3470207,"avatar_url":"https://avatars.githubusercontent.com/u/3470207?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneslumpe","html_url":"https://github.com/johanneslumpe","followers_url":"https://api.github.com/users/johanneslumpe/followers","following_url":"https://api.github.com/users/johanneslumpe/following{/other_user}","gists_url":"https://api.github.com/users/johanneslumpe/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneslumpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneslumpe/subscriptions","organizations_url":"https://api.github.com/users/johanneslumpe/orgs","repos_url":"https://api.github.com/users/johanneslumpe/repos","events_url":"https://api.github.com/users/johanneslumpe/events{/privacy}","received_events_url":"https://api.github.com/users/johanneslumpe/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T05:54:09Z","updated_at":"2015-04-04T05:54:09Z","body":"As already pointed out on IRC, just to confirm: This is a really great idea from my POV. And as @tappleby already said, it will help with the decoupling of components and lead to more reusable components, which just rely on callbacks, making them flux-framework agnostic."}}