{"action":"closed","issue":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/4179","repository_url":"https://api.github.com/repos/ReactTraining/react-router","labels_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4179/labels{/name}","comments_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4179/comments","events_url":"https://api.github.com/repos/ReactTraining/react-router/issues/4179/events","html_url":"https://github.com/ReactTraining/react-router/issues/4179","id":188972124,"number":4179,"title":"How do I use the imperative API instead of the Redirect component?","user":{"login":"Industrial","id":3317,"avatar_url":"https://avatars.githubusercontent.com/u/3317?v=3","gravatar_id":"","url":"https://api.github.com/users/Industrial","html_url":"https://github.com/Industrial","followers_url":"https://api.github.com/users/Industrial/followers","following_url":"https://api.github.com/users/Industrial/following{/other_user}","gists_url":"https://api.github.com/users/Industrial/gists{/gist_id}","starred_url":"https://api.github.com/users/Industrial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Industrial/subscriptions","organizations_url":"https://api.github.com/users/Industrial/orgs","repos_url":"https://api.github.com/users/Industrial/repos","events_url":"https://api.github.com/users/Industrial/events{/privacy}","received_events_url":"https://api.github.com/users/Industrial/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-13T14:07:56Z","updated_at":"2016-11-14T17:22:54Z","closed_at":"2016-11-14T17:22:54Z","body":"Hi!\r\n\r\nI'm not really in tune with the new way redirection works with `react-router`. I would much rather give my action creators control over when to dispatch a redirect action then having to keep specific store state upon which to decide to show one part of the application or the other.\r\n\r\nI don't want a website where I'm hiding the public part of the site after you log in to `/admin`. I would much rather have a website where it just redirects me to `/admin` after logging in but nothing else.\r\n\r\nThe API used to be `dispatch(reactRouter.hashHistory.push(uri))`. How do I do this now? I am using `<HashRouter/>`."}}
{"actor":{"display_login":"timdorr"}}