{"action":"opened","issue":{"url":"https://api.github.com/repos/reactjs/react-router-redux/issues/553","repository_url":"https://api.github.com/repos/reactjs/react-router-redux","labels_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/553/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/553/comments","events_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/553/events","html_url":"https://github.com/reactjs/react-router-redux/issues/553","id":215550040,"number":553,"title":"history compatibility issue","user":{"login":"monte-hayward","id":3780422,"avatar_url":"https://avatars0.githubusercontent.com/u/3780422?v=3","gravatar_id":"","url":"https://api.github.com/users/monte-hayward","html_url":"https://github.com/monte-hayward","followers_url":"https://api.github.com/users/monte-hayward/followers","following_url":"https://api.github.com/users/monte-hayward/following{/other_user}","gists_url":"https://api.github.com/users/monte-hayward/gists{/gist_id}","starred_url":"https://api.github.com/users/monte-hayward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monte-hayward/subscriptions","organizations_url":"https://api.github.com/users/monte-hayward/orgs","repos_url":"https://api.github.com/users/monte-hayward/repos","events_url":"https://api.github.com/users/monte-hayward/events{/privacy}","received_events_url":"https://api.github.com/users/monte-hayward/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-20T20:46:15Z","updated_at":"2017-03-20T20:46:15Z","closed_at":null,"body":"An issue very much like #475 occurs with updates to react-router 4\r\n```\r\n    \"react-redux\": \"^5.0.3\",\r\n    \"react-router\": \"^4.0.0\",\r\n    \"react-router-redux\": \"4.0.7\",\r\n    \"redux\": \"^3.6.0\",\r\n```\r\n\r\nAs a workaround, I rolled back to 3.0.2, and the issue\r\n```\r\n    \"react-redux\": \"^4.4.5\",\r\n    \"react-router\": \"^3.0.2\",\r\n    \"react-router-redux\": \"4.0.8\",\r\n    \"redux\": \"^3.6.0\",\r\n```\r\n\r\n```\r\nTypeError: Cannot read property 'pathname' of undefined\r\n    at new Router (Router.js:30)\r\n    at ReactCompositeComponent.js:295\r\n    at measureLifeCyclePerf (ReactCompositeComponent.js:75)\r\n    at ReactCompositeComponentWrapper._constructComponentWithoutOwner (ReactCompositeComponent.js:294)\r\n    at ReactCompositeComponentWrapper._constructComponent (ReactCompositeComponent.js:280)\r\n    at ReactCompositeComponentWrapper.mountComponent (ReactCompositeComponent.js:188)\r\n    at Object.mountComponent (ReactReconciler.js:46)\r\n    at ReactDOMComponent.mountChildren (ReactMultiChild.js:238)\r\n    at ReactDOMComponent._createInitialChildren (ReactDOMComponent.js:697)\r\n    at ReactDOMComponent.mountComponent (ReactDOMComponent.js:516)\r\n```\r\n\r\n```\r\nimport createHistory from 'history/lib/createBrowserHistory';\r\n// ...\r\nconst browserHistory = createHistory();\r\n// ...\r\nconst RouterApp = props => (\r\n  <Provider {...props} store={store()}>\r\n    <Router\r\n      history={browserHistory}\r\n      routes={routes}\r\n    />\r\n  </Provider>\r\n);\r\n```\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"monte-hayward"}}