{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/redux-router/issues/65","labels_url":"https://api.github.com/repos/rackt/redux-router/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/rackt/redux-router/issues/65/comments","events_url":"https://api.github.com/repos/rackt/redux-router/issues/65/events","html_url":"https://github.com/rackt/redux-router/issues/65","id":107359121,"number":65,"title":"How to dispatch action on change of route?","user":{"login":"rightaway","id":3680078,"avatar_url":"https://avatars.githubusercontent.com/u/3680078?v=3","gravatar_id":"","url":"https://api.github.com/users/rightaway","html_url":"https://github.com/rightaway","followers_url":"https://api.github.com/users/rightaway/followers","following_url":"https://api.github.com/users/rightaway/following{/other_user}","gists_url":"https://api.github.com/users/rightaway/gists{/gist_id}","starred_url":"https://api.github.com/users/rightaway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rightaway/subscriptions","organizations_url":"https://api.github.com/users/rightaway/orgs","repos_url":"https://api.github.com/users/rightaway/repos","events_url":"https://api.github.com/users/rightaway/events{/privacy}","received_events_url":"https://api.github.com/users/rightaway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-19T22:27:45Z","updated_at":"2015-09-20T14:09:24Z","closed_at":null,"body":"I looked through the examples directory and the readme but couldn't figure out how to dispatch an action when the react-router route changes. Is it possible to do, if so could anyone please explain how to actually dispatch the action? I'd like to be able to dispatch it like any other redux action so that in my custom reducer I can change other parts of the application state."},"comment":{"url":"https://api.github.com/repos/rackt/redux-router/issues/comments/141788850","html_url":"https://github.com/rackt/redux-router/issues/65#issuecomment-141788850","issue_url":"https://api.github.com/repos/rackt/redux-router/issues/65","id":141788850,"user":{"login":"geekyme","id":977460,"avatar_url":"https://avatars.githubusercontent.com/u/977460?v=3","gravatar_id":"","url":"https://api.github.com/users/geekyme","html_url":"https://github.com/geekyme","followers_url":"https://api.github.com/users/geekyme/followers","following_url":"https://api.github.com/users/geekyme/following{/other_user}","gists_url":"https://api.github.com/users/geekyme/gists{/gist_id}","starred_url":"https://api.github.com/users/geekyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekyme/subscriptions","organizations_url":"https://api.github.com/users/geekyme/orgs","repos_url":"https://api.github.com/users/geekyme/repos","events_url":"https://api.github.com/users/geekyme/events{/privacy}","received_events_url":"https://api.github.com/users/geekyme/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T14:09:24Z","updated_at":"2015-09-20T14:09:24Z","body":"If I have a certain route at /products, how can i fire the action creator `getProducts()` when the route change? doesn't look like this is possible"}}