{"action":"created","issue":{"url":"https://api.github.com/repos/hyperapp/hyperapp/issues/65","repository_url":"https://api.github.com/repos/hyperapp/hyperapp","labels_url":"https://api.github.com/repos/hyperapp/hyperapp/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/hyperapp/hyperapp/issues/65/comments","events_url":"https://api.github.com/repos/hyperapp/hyperapp/issues/65/events","html_url":"https://github.com/hyperapp/hyperapp/issues/65","id":206312656,"number":65,"title":"TEA? 🍵","user":{"login":"itrelease","id":41234,"avatar_url":"https://avatars.githubusercontent.com/u/41234?v=3","gravatar_id":"","url":"https://api.github.com/users/itrelease","html_url":"https://github.com/itrelease","followers_url":"https://api.github.com/users/itrelease/followers","following_url":"https://api.github.com/users/itrelease/following{/other_user}","gists_url":"https://api.github.com/users/itrelease/gists{/gist_id}","starred_url":"https://api.github.com/users/itrelease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itrelease/subscriptions","organizations_url":"https://api.github.com/users/itrelease/orgs","repos_url":"https://api.github.com/users/itrelease/repos","events_url":"https://api.github.com/users/itrelease/events{/privacy}","received_events_url":"https://api.github.com/users/itrelease/received_events","type":"User","site_admin":false},"labels":[{"id":522275188,"url":"https://api.github.com/repos/hyperapp/hyperapp/labels/TALK","name":"TALK","color":"ffeb28","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-02-08T20:19:42Z","updated_at":"2017-02-09T11:18:23Z","closed_at":null,"body":"Maybe it would be better if `effects` shouldn't be called directly by user but go along with result of updating model as a second element in an array or some other structure and that second element should be handled by runtime so it will be look more like TEA:\r\n\r\n```\r\nupdate : Msg -> Model -> (Model, Cmd Msg)\r\nupdate msg model =\r\n  case msg of\r\n    MorePlease ->\r\n      (model, getRandomGif model.topic)\r\n\r\n    NewGif (Ok newUrl) ->\r\n      ( { model | gifUrl = newUrl }, Cmd.none)\r\n\r\n    NewGif (Err _) ->\r\n      (model, Cmd.none)\r\n```"},"comment":{"url":"https://api.github.com/repos/hyperapp/hyperapp/issues/comments/278614240","html_url":"https://github.com/hyperapp/hyperapp/issues/65#issuecomment-278614240","issue_url":"https://api.github.com/repos/hyperapp/hyperapp/issues/65","id":278614240,"user":{"login":"jbucaran","id":56996,"avatar_url":"https://avatars.githubusercontent.com/u/56996?v=3","gravatar_id":"","url":"https://api.github.com/users/jbucaran","html_url":"https://github.com/jbucaran","followers_url":"https://api.github.com/users/jbucaran/followers","following_url":"https://api.github.com/users/jbucaran/following{/other_user}","gists_url":"https://api.github.com/users/jbucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/jbucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbucaran/subscriptions","organizations_url":"https://api.github.com/users/jbucaran/orgs","repos_url":"https://api.github.com/users/jbucaran/repos","events_url":"https://api.github.com/users/jbucaran/events{/privacy}","received_events_url":"https://api.github.com/users/jbucaran/received_events","type":"User","site_admin":false},"created_at":"2017-02-09T11:18:23Z","updated_at":"2017-02-09T11:18:23Z","body":"See also [What's the difference between effects and reducers?](https://github.com/hyperapp/hyperapp/wiki/What's-the-difference-between-effects-and-reducers%3F)"}}
{"actor":{"display_login":"jbucaran"}}