{"action":"created","issue":{"url":"https://api.github.com/repos/redux-loop/redux-loop/issues/89","repository_url":"https://api.github.com/repos/redux-loop/redux-loop","labels_url":"https://api.github.com/repos/redux-loop/redux-loop/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/redux-loop/redux-loop/issues/89/comments","events_url":"https://api.github.com/repos/redux-loop/redux-loop/issues/89/events","html_url":"https://github.com/redux-loop/redux-loop/pull/89","id":178756882,"number":89,"title":"Add support for nested loops","user":{"login":"evinism","id":1979887,"avatar_url":"https://avatars.githubusercontent.com/u/1979887?v=3","gravatar_id":"","url":"https://api.github.com/users/evinism","html_url":"https://github.com/evinism","followers_url":"https://api.github.com/users/evinism/followers","following_url":"https://api.github.com/users/evinism/following{/other_user}","gists_url":"https://api.github.com/users/evinism/gists{/gist_id}","starred_url":"https://api.github.com/users/evinism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evinism/subscriptions","organizations_url":"https://api.github.com/users/evinism/orgs","repos_url":"https://api.github.com/users/evinism/repos","events_url":"https://api.github.com/users/evinism/events{/privacy}","received_events_url":"https://api.github.com/users/evinism/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-23T00:47:41Z","updated_at":"2016-10-20T18:30:17Z","closed_at":"2016-10-20T17:27:49Z","pull_request":{"url":"https://api.github.com/repos/redux-loop/redux-loop/pulls/89","html_url":"https://github.com/redux-loop/redux-loop/pull/89","diff_url":"https://github.com/redux-loop/redux-loop/pull/89.diff","patch_url":"https://github.com/redux-loop/redux-loop/pull/89.patch"},"body":"It would be helpful for `loop` to be agnostic of whether it's passed a loop or a model, to allow composable looped state transitions. This seems to be in line with the style of the rest of the API.  \r\n\r\n```\r\nconst DoTheThing = (state) => loop(state, Effect1);\r\nconst DoTheOtherThing = (state) => loop(state, Effect2);\r\n\r\n// such that the following useless reducer would be legal and batch the effects\r\nconst reducer = (state, action) => DoTheThing(DoTheOtherThing(state))\r\n```"},"comment":{"url":"https://api.github.com/repos/redux-loop/redux-loop/issues/comments/255189184","html_url":"https://github.com/redux-loop/redux-loop/pull/89#issuecomment-255189184","issue_url":"https://api.github.com/repos/redux-loop/redux-loop/issues/89","id":255189184,"user":{"login":"evinism","id":1979887,"avatar_url":"https://avatars.githubusercontent.com/u/1979887?v=3","gravatar_id":"","url":"https://api.github.com/users/evinism","html_url":"https://github.com/evinism","followers_url":"https://api.github.com/users/evinism/followers","following_url":"https://api.github.com/users/evinism/following{/other_user}","gists_url":"https://api.github.com/users/evinism/gists{/gist_id}","starred_url":"https://api.github.com/users/evinism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evinism/subscriptions","organizations_url":"https://api.github.com/users/evinism/orgs","repos_url":"https://api.github.com/users/evinism/repos","events_url":"https://api.github.com/users/evinism/events{/privacy}","received_events_url":"https://api.github.com/users/evinism/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T18:30:17Z","updated_at":"2016-10-20T18:30:17Z","body":"Super cool, I honestly like this move a lot better. I was sort of tricked into thinking that due to the existence of all these super small helper methods, the loop data model was gonna get much more complicated. Glad to see it's moving the other direction. "}}
{"actor":{"display_login":"evinism"}}