{"action":"created","issue":{"url":"https://api.github.com/repos/stamen/panorama-template/issues/1","repository_url":"https://api.github.com/repos/stamen/panorama-template","labels_url":"https://api.github.com/repos/stamen/panorama-template/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/stamen/panorama-template/issues/1/comments","events_url":"https://api.github.com/repos/stamen/panorama-template/issues/1/events","html_url":"https://github.com/stamen/panorama-template/issues/1","id":145754783,"number":1,"title":"Add Middleware","user":{"login":"clhenrick","id":161748,"avatar_url":"https://avatars.githubusercontent.com/u/161748?v=3","gravatar_id":"","url":"https://api.github.com/users/clhenrick","html_url":"https://github.com/clhenrick","followers_url":"https://api.github.com/users/clhenrick/followers","following_url":"https://api.github.com/users/clhenrick/following{/other_user}","gists_url":"https://api.github.com/users/clhenrick/gists{/gist_id}","starred_url":"https://api.github.com/users/clhenrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clhenrick/subscriptions","organizations_url":"https://api.github.com/users/clhenrick/orgs","repos_url":"https://api.github.com/users/clhenrick/repos","events_url":"https://api.github.com/users/clhenrick/events{/privacy}","received_events_url":"https://api.github.com/users/clhenrick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T17:47:29Z","updated_at":"2016-04-04T19:44:54Z","closed_at":null,"body":"For AJAX I believe @mojodna and @sconnelley both prefer Thunk. I've also used redux-promise.\r\n\r\nI found logging state to be helpful when developing, also part of middleware. For example: https://github.com/stamen/bestschoolday/blob/master/app/src/state/store.js#L10-L13"},"comment":{"url":"https://api.github.com/repos/stamen/panorama-template/issues/comments/205464445","html_url":"https://github.com/stamen/panorama-template/issues/1#issuecomment-205464445","issue_url":"https://api.github.com/repos/stamen/panorama-template/issues/1","id":205464445,"user":{"login":"ericsoco","id":1127259,"avatar_url":"https://avatars.githubusercontent.com/u/1127259?v=3","gravatar_id":"","url":"https://api.github.com/users/ericsoco","html_url":"https://github.com/ericsoco","followers_url":"https://api.github.com/users/ericsoco/followers","following_url":"https://api.github.com/users/ericsoco/following{/other_user}","gists_url":"https://api.github.com/users/ericsoco/gists{/gist_id}","starred_url":"https://api.github.com/users/ericsoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericsoco/subscriptions","organizations_url":"https://api.github.com/users/ericsoco/orgs","repos_url":"https://api.github.com/users/ericsoco/repos","events_url":"https://api.github.com/users/ericsoco/events{/privacy}","received_events_url":"https://api.github.com/users/ericsoco/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T19:44:54Z","updated_at":"2016-04-04T19:44:54Z","body":"I thought about integrating Thunk (via `react-redux`), but stopped short in favor of keeping the template minimal. If this seems like something we'll almost always want in Stamen projects, we should add it.\r\n\r\n(I'd be interested in hearing/seeing more about how Redux middleware is used in general, and how Stamen projects in particular would use it. Don't know much yet.)"}}