{"action":"created","issue":{"url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/45","labels_url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/45/comments","events_url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/45/events","html_url":"https://github.com/slamdata/purescript-halogen/issues/45","id":63346303,"number":45,"title":"Composing Views that rely on effects is problematic","user":{"login":"natefaubion","id":144058,"avatar_url":"https://avatars.githubusercontent.com/u/144058?v=3","gravatar_id":"","url":"https://api.github.com/users/natefaubion","html_url":"https://github.com/natefaubion","followers_url":"https://api.github.com/users/natefaubion/followers","following_url":"https://api.github.com/users/natefaubion/following{/other_user}","gists_url":"https://api.github.com/users/natefaubion/gists{/gist_id}","starred_url":"https://api.github.com/users/natefaubion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefaubion/subscriptions","organizations_url":"https://api.github.com/users/natefaubion/orgs","repos_url":"https://api.github.com/users/natefaubion/repos","events_url":"https://api.github.com/users/natefaubion/events{/privacy}","received_events_url":"https://api.github.com/users/natefaubion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-21T02:27:59Z","updated_at":"2015-03-29T18:32:01Z","closed_at":null,"body":"Currently the effect/request handler is completely separate from the View machinery. While I can potentially work with the SF/SF1 instances to manipulate state and HTML, there's no story for composing views that need to make requests. Say I want to create a reusable typeahead component that makes AJAX requests. These requests exists purely within event handlers and there's no clear way to pass these requests to the request handler and have it map back to the correct nested state."},"comment":{"url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/comments/87454087","html_url":"https://github.com/slamdata/purescript-halogen/issues/45#issuecomment-87454087","issue_url":"https://api.github.com/repos/slamdata/purescript-halogen/issues/45","id":87454087,"user":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T18:32:01Z","updated_at":"2015-03-29T18:32:01Z","body":"I think we can review and maybe close this in light of merging #50."}}