{"action":"closed","issue":{"url":"https://api.github.com/repos/nrwl/nx/issues/294","repository_url":"https://api.github.com/repos/nrwl/nx","labels_url":"https://api.github.com/repos/nrwl/nx/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/nrwl/nx/issues/294/comments","events_url":"https://api.github.com/repos/nrwl/nx/issues/294/events","html_url":"https://github.com/nrwl/nx/issues/294","id":300569570,"number":294,"title":"Initiate routing upon pessimisticUpdate success","user":{"login":"FallenRiteMonk","id":8779846,"avatar_url":"https://avatars0.githubusercontent.com/u/8779846?v=4","gravatar_id":"","url":"https://api.github.com/users/FallenRiteMonk","html_url":"https://github.com/FallenRiteMonk","followers_url":"https://api.github.com/users/FallenRiteMonk/followers","following_url":"https://api.github.com/users/FallenRiteMonk/following{/other_user}","gists_url":"https://api.github.com/users/FallenRiteMonk/gists{/gist_id}","starred_url":"https://api.github.com/users/FallenRiteMonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FallenRiteMonk/subscriptions","organizations_url":"https://api.github.com/users/FallenRiteMonk/orgs","repos_url":"https://api.github.com/users/FallenRiteMonk/repos","events_url":"https://api.github.com/users/FallenRiteMonk/events{/privacy}","received_events_url":"https://api.github.com/users/FallenRiteMonk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-27T10:18:58Z","updated_at":"2018-03-02T22:11:38Z","closed_at":"2018-03-02T22:11:38Z","author_association":"NONE","body":"Hy,\r\n\r\nwhat would be the best way to initiate a redirect upon successfully finishing a HTTP request?\r\n\r\nMy scenario is the following:\r\nI have a lib that handles the authentication, which has a guard that checks login-state/permissions upon routing. If a user is now not logged in, a popup for authentication is shown.\r\nWhat I want to achieve is that once the user successfully logged in I close the popup and want to redirect the page to where it was routing to that activated the guard. \r\n\r\nI am able to pass the wanted URL to the pessimisticUpdate effect. My question is only how would i no go about doing the navigation itself? would I dispatch a new NAVIGATION action or would I just import the router and navigate to where I want to?"}}
{"actor":{"display_login":"thelgevold"}}