{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/redux/issues/637","labels_url":"https://api.github.com/repos/rackt/redux/issues/637/labels{/name}","comments_url":"https://api.github.com/repos/rackt/redux/issues/637/comments","events_url":"https://api.github.com/repos/rackt/redux/issues/637/events","html_url":"https://github.com/rackt/redux/issues/637","id":103542856,"number":637,"title":"Clarify we work with React Router just fine","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},"labels":[{"url":"https://api.github.com/repos/rackt/redux/labels/docs","name":"docs","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2015-08-27T16:05:53Z","updated_at":"2015-10-21T23:11:47Z","closed_at":null,"body":"People constantly get the impression we don't support React Router, or that you need something special like [redux-react-router](https://github.com/acdlite/redux-react-router) for it to work, or even that it doesn't work until React 0.14.\r\n\r\n**You can use Redux with React Router 0.13 or 1.0 as is today.**\r\n(And that was true since Redux's initial release by the way.)\r\n\r\nSome features like time travel will need to wait for some support on RR side, but this is irrelevant to the main issue. People get confused thinking they can't use routing today, which is just wrong.\r\n\r\nThe [real world example](https://github.com/rackt/redux/tree/master/examples/real-world) included in this repo uses React Router. All you need is to wrap `<Router>` into `<Provider>`, just like you'd wrap your top-level component in a router-less app.\r\n\r\nIf you want to transition from action creators, pass `router` instance as a parameter to action creators, and call its methods when you like. If you want to read router state from Redux store, fire an action on route change and write a reducer to handle it. That's it!\r\n\r\n[react-redux-router](https://github.com/acdlite/redux-react-router) is an experiment in trying to come up with a more natural API where you'd just dispatch actions and read state from store which automagically is connected to the router instance, but you don't have to use it, or to wait for it to become stable! **It's an experiment only.**\r\n\r\nWe need this in docs.."},"comment":{"url":"https://api.github.com/repos/rackt/redux/issues/comments/150050195","html_url":"https://github.com/rackt/redux/issues/637#issuecomment-150050195","issue_url":"https://api.github.com/repos/rackt/redux/issues/637","id":150050195,"user":{"login":"vojtatranta","id":4154045,"avatar_url":"https://avatars.githubusercontent.com/u/4154045?v=3","gravatar_id":"","url":"https://api.github.com/users/vojtatranta","html_url":"https://github.com/vojtatranta","followers_url":"https://api.github.com/users/vojtatranta/followers","following_url":"https://api.github.com/users/vojtatranta/following{/other_user}","gists_url":"https://api.github.com/users/vojtatranta/gists{/gist_id}","starred_url":"https://api.github.com/users/vojtatranta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vojtatranta/subscriptions","organizations_url":"https://api.github.com/users/vojtatranta/orgs","repos_url":"https://api.github.com/users/vojtatranta/repos","events_url":"https://api.github.com/users/vojtatranta/events{/privacy}","received_events_url":"https://api.github.com/users/vojtatranta/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T23:11:47Z","updated_at":"2015-10-21T23:11:47Z","body":"@cappslock your approach is really really good. Could you make some blogpost about it?"}}