{"action":"created","issue":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/579","repository_url":"https://api.github.com/repos/apollostack/apollo-client","labels_url":"https://api.github.com/repos/apollostack/apollo-client/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/apollostack/apollo-client/issues/579/comments","events_url":"https://api.github.com/repos/apollostack/apollo-client/issues/579/events","html_url":"https://github.com/apollostack/apollo-client/issues/579","id":172758015,"number":579,"title":"Custom redux store with dev tools unable to connect","user":{"login":"sandervanhooft","id":7265703,"avatar_url":"https://avatars.githubusercontent.com/u/7265703?v=3","gravatar_id":"","url":"https://api.github.com/users/sandervanhooft","html_url":"https://github.com/sandervanhooft","followers_url":"https://api.github.com/users/sandervanhooft/followers","following_url":"https://api.github.com/users/sandervanhooft/following{/other_user}","gists_url":"https://api.github.com/users/sandervanhooft/gists{/gist_id}","starred_url":"https://api.github.com/users/sandervanhooft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandervanhooft/subscriptions","organizations_url":"https://api.github.com/users/sandervanhooft/orgs","repos_url":"https://api.github.com/users/sandervanhooft/repos","events_url":"https://api.github.com/users/sandervanhooft/events{/privacy}","received_events_url":"https://api.github.com/users/sandervanhooft/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apollostack/apollo-client/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-23T17:24:40Z","updated_at":"2016-08-23T18:05:20Z","closed_at":"2016-08-23T17:30:14Z","body":"Hi,\r\n\r\nI've used the docs to integrate Apollo with a customized redux store.\r\n\r\n`console.log(store.getState())` works perfectly, however the redux dev tools now seem unable to connect. Any clue?\r\n\r\n```\r\nconst networkInterface = createNetworkInterface(envconfig.GRAPHQL_SERVER)\r\nconst client = new ApolloClient({\r\n  networkInterface,\r\n})\r\n\r\nconst store = createStore(\r\n  combineReducers({\r\n    auth: authReducer,\r\n    apollo: client.reducer(),\r\n  }),\r\n  applyMiddleware(\r\n    client.middleware(),\r\n    ReduxThunk.withExtraArgument(client)),\r\n);\r\n\r\nexport default () => (\r\n  <ApolloProvider store={store} client={client}>\r\n    <Router history={browserHistory}>\r\n      <Route path=\"/\" component={Home} />\r\n    </Router>\r\n  </ApolloProvider>\r\n)\r\n```"},"comment":{"url":"https://api.github.com/repos/apollostack/apollo-client/issues/comments/241821420","html_url":"https://github.com/apollostack/apollo-client/issues/579#issuecomment-241821420","issue_url":"https://api.github.com/repos/apollostack/apollo-client/issues/579","id":241821420,"user":{"login":"stubailo","id":448783,"avatar_url":"https://avatars.githubusercontent.com/u/448783?v=3","gravatar_id":"","url":"https://api.github.com/users/stubailo","html_url":"https://github.com/stubailo","followers_url":"https://api.github.com/users/stubailo/followers","following_url":"https://api.github.com/users/stubailo/following{/other_user}","gists_url":"https://api.github.com/users/stubailo/gists{/gist_id}","starred_url":"https://api.github.com/users/stubailo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stubailo/subscriptions","organizations_url":"https://api.github.com/users/stubailo/orgs","repos_url":"https://api.github.com/users/stubailo/repos","events_url":"https://api.github.com/users/stubailo/events{/privacy}","received_events_url":"https://api.github.com/users/stubailo/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T18:05:20Z","updated_at":"2016-08-23T18:05:20Z","body":"I guess it's a Redux thing, not an Apollo thing - but I'd support just adding the dev tools middleware in that code snippet. We don't want to get too deep into documenting all of Redux, I think.\r\n\r\nMind submitting a PR?"}}
{"actor":{"display_login":"stubailo"}}