{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-router-redux/issues/520","repository_url":"https://api.github.com/repos/reactjs/react-router-redux","labels_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/520/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/520/comments","events_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/520/events","html_url":"https://github.com/reactjs/react-router-redux/issues/520","id":205125887,"number":520,"title":"react router v4 and history v4","user":{"login":"GuillaumeCisco","id":1155244,"avatar_url":"https://avatars.githubusercontent.com/u/1155244?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeCisco","html_url":"https://github.com/GuillaumeCisco","followers_url":"https://api.github.com/users/GuillaumeCisco/followers","following_url":"https://api.github.com/users/GuillaumeCisco/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeCisco/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeCisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeCisco/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeCisco/orgs","repos_url":"https://api.github.com/users/GuillaumeCisco/repos","events_url":"https://api.github.com/users/GuillaumeCisco/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeCisco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-03T10:49:16Z","updated_at":"2017-02-05T15:55:25Z","closed_at":"2017-02-05T05:05:35Z","body":"Hello and thank you for this amazing project.\r\n\r\nI was trying to use react-router-redux with react router v4 and history 4.x.\r\nIt hardly works!\r\nOnly problem I came through is `syncHistoryWithStore`. It seems like this method is no more adapted to the history 4.x code. So I add to disable it for now. An override to verify.\r\n\r\nBut `routerReducer` and `routerMiddleware` works well.\r\nI just used my history object as :\r\n```javascript\r\nimport {createHashHistory} from 'history';\r\n\r\nconst history = createHashHistory();\r\n\r\nexport default history;\r\n```\r\n\r\nNo more.\r\nAnd using react-router with :\r\n```javascript\r\nimport {Router} from 'react-router';\r\nimport history from '../history';\r\n\r\n<Router history={history}>\r\n    ... routes ...\r\n</Router>\r\n```\r\n\r\nHope it will help for future portability.\r\n\r\nEDIT: One hint is in version v4.0.0.0-2, history removed history.getCurrentLocation().\r\n`syncHistoryWithStore` works with it so I think we could dig here :)"},"comment":{"url":"https://api.github.com/repos/reactjs/react-router-redux/issues/comments/277528454","html_url":"https://github.com/reactjs/react-router-redux/issues/520#issuecomment-277528454","issue_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/520","id":277528454,"user":{"login":"timdorr","id":17882,"avatar_url":"https://avatars.githubusercontent.com/u/17882?v=3","gravatar_id":"","url":"https://api.github.com/users/timdorr","html_url":"https://github.com/timdorr","followers_url":"https://api.github.com/users/timdorr/followers","following_url":"https://api.github.com/users/timdorr/following{/other_user}","gists_url":"https://api.github.com/users/timdorr/gists{/gist_id}","starred_url":"https://api.github.com/users/timdorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdorr/subscriptions","organizations_url":"https://api.github.com/users/timdorr/orgs","repos_url":"https://api.github.com/users/timdorr/repos","events_url":"https://api.github.com/users/timdorr/events{/privacy}","received_events_url":"https://api.github.com/users/timdorr/received_events","type":"User","site_admin":false},"created_at":"2017-02-05T15:55:25Z","updated_at":"2017-02-05T15:55:25Z","body":"We will support it eventually. However, it isn't out of beta yet, so I don't want to try and hit a moving target."}}
{"actor":{"display_login":"timdorr"}}