{"action":"created","issue":{"url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/29","labels_url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/29/comments","events_url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/29/events","html_url":"https://github.com/gaearon/flux-react-router-example/issues/29","id":77716772,"number":29,"title":"Cannot execute the search","user":{"login":"cybersiddhu","id":48740,"avatar_url":"https://avatars.githubusercontent.com/u/48740?v=3","gravatar_id":"","url":"https://api.github.com/users/cybersiddhu","html_url":"https://github.com/cybersiddhu","followers_url":"https://api.github.com/users/cybersiddhu/followers","following_url":"https://api.github.com/users/cybersiddhu/following{/other_user}","gists_url":"https://api.github.com/users/cybersiddhu/gists{/gist_id}","starred_url":"https://api.github.com/users/cybersiddhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cybersiddhu/subscriptions","organizations_url":"https://api.github.com/users/cybersiddhu/orgs","repos_url":"https://api.github.com/users/cybersiddhu/repos","events_url":"https://api.github.com/users/cybersiddhu/events{/privacy}","received_events_url":"https://api.github.com/users/cybersiddhu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T16:23:58Z","updated_at":"2015-05-19T12:23:16Z","closed_at":"2015-05-19T12:22:47Z","body":"As soon as i hit the __Go!__ button i see the following error\r\n\r\n```\r\nUncaught TypeError: Cannot read property 'dispatch' of undefined  AppDispatcher.js:10\r\n```\r\n\r\nHere is the relevant line \r\n```js\r\nclass AppDispatcher extends Dispatcher {\r\n  /**\r\n   * Dispatches three actions for an async operation represented by promise.\r\n   */\r\n  dispatchAsync(promise, types, action = {}) {\r\n    const { request, success, failure } = types;\r\n\r\n    this.dispatch(request, action);   === > Error here\r\n    promise.then(\r\n      response => this.dispatch(success, { ...action, response }),\r\n      error => this.dispatch(failure, { ...action, error })\r\n    );\r\n  }\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/comments/103466315","html_url":"https://github.com/gaearon/flux-react-router-example/issues/29#issuecomment-103466315","issue_url":"https://api.github.com/repos/gaearon/flux-react-router-example/issues/29","id":103466315,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T12:23:16Z","updated_at":"2015-05-19T12:23:16Z","body":"Hey, thanks for noticing. I don't know how it worked before.\r\nI fixed this by completely getting rid of inheritance there and just delegating to a Flux dispatcher instance."}}