{"action":"created","issue":{"url":"https://api.github.com/repos/supasate/connected-react-router/issues/74","repository_url":"https://api.github.com/repos/supasate/connected-react-router","labels_url":"https://api.github.com/repos/supasate/connected-react-router/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/supasate/connected-react-router/issues/74/comments","events_url":"https://api.github.com/repos/supasate/connected-react-router/issues/74/events","html_url":"https://github.com/supasate/connected-react-router/issues/74","id":330188571,"node_id":"MDU6SXNzdWUzMzAxODg1NzE=","number":74,"title":"react-router-redux is deprecated","user":{"login":"TrejGun","id":185285,"node_id":"MDQ6VXNlcjE4NTI4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/185285?v=4","gravatar_id":"","url":"https://api.github.com/users/TrejGun","html_url":"https://github.com/TrejGun","followers_url":"https://api.github.com/users/TrejGun/followers","following_url":"https://api.github.com/users/TrejGun/following{/other_user}","gists_url":"https://api.github.com/users/TrejGun/gists{/gist_id}","starred_url":"https://api.github.com/users/TrejGun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrejGun/subscriptions","organizations_url":"https://api.github.com/users/TrejGun/orgs","repos_url":"https://api.github.com/users/TrejGun/repos","events_url":"https://api.github.com/users/TrejGun/events{/privacy}","received_events_url":"https://api.github.com/users/TrejGun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-07T09:25:03Z","updated_at":"2018-06-16T07:07:21Z","closed_at":null,"author_association":"NONE","body":"Hi @supasate !\r\n\r\nnow when react-router-redux is deprecated you proably would be the best alternative\r\nhttps://github.com/ReactTraining/react-router/commit/b1a77bceaf972dddb557b7ddd52131df91e15d14\r\n\r\nthe main concern about this project - it was not updated for a long time. please tell us about your plans? is this project still alive? can we expect updates?\r\n\r\nPS and if yes, it would be good to have SSR because its the only thing missinng from RRR functionality"},"comment":{"url":"https://api.github.com/repos/supasate/connected-react-router/issues/comments/397793047","html_url":"https://github.com/supasate/connected-react-router/issues/74#issuecomment-397793047","issue_url":"https://api.github.com/repos/supasate/connected-react-router/issues/74","id":397793047,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzc5MzA0Nw==","user":{"login":"TrejGun","id":185285,"node_id":"MDQ6VXNlcjE4NTI4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/185285?v=4","gravatar_id":"","url":"https://api.github.com/users/TrejGun","html_url":"https://github.com/TrejGun","followers_url":"https://api.github.com/users/TrejGun/followers","following_url":"https://api.github.com/users/TrejGun/following{/other_user}","gists_url":"https://api.github.com/users/TrejGun/gists{/gist_id}","starred_url":"https://api.github.com/users/TrejGun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrejGun/subscriptions","organizations_url":"https://api.github.com/users/TrejGun/orgs","repos_url":"https://api.github.com/users/TrejGun/repos","events_url":"https://api.github.com/users/TrejGun/events{/privacy}","received_events_url":"https://api.github.com/users/TrejGun/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T07:07:21Z","updated_at":"2018-06-16T07:07:21Z","author_association":"NONE","body":"@supasate good to hear\r\nI'd like to help as I can\r\n\r\nIt would be good to make a realease soon, so these are my thoughts on what should be done (read: people want to see)\r\n\r\n- [ ] bump, check and fix peer deps for redux 4 (redux, react-redux, redux-devtools, redux-devtools-extension)'\r\n\r\n\r\n- [ ] fix SSR, use MemoryHistory or HashHistory (history, react-router-dom)\r\n\r\nfor example simple hack will work\r\n```js\r\nimport {createBrowserHistory, createMemoryHistory} from \"history\";\r\n\r\nconst canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\r\n\r\nexport default canUseDOM ? createBrowserHistory() : createMemoryHistory();\r\n```\r\n\r\nFor the next major update \r\n\r\n - [ ] think about smoth migration from RRR by changing API to what it was in RRR. this is kinda tricky but `rematch` users already complaining\r\n\r\nalso idk what to do if I want to connect router to my custom component?\r\nshould i do something like this?\r\n```js\r\nconst App = ({ history }) => {\r\n  return (\r\n    <MyCustomConnectedRouter history={history}>\r\n      <ConnectedRouter history={history}>\r\n        { routes }\r\n      </ConnectedRouter>\r\n    </MyCustomConnectedRouter>\r\n  )\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"TrejGun"}}