{"action":"created","issue":{"url":"https://api.github.com/repos/seeden/react-g-analytics/issues/7","labels_url":"https://api.github.com/repos/seeden/react-g-analytics/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/seeden/react-g-analytics/issues/7/comments","events_url":"https://api.github.com/repos/seeden/react-g-analytics/issues/7/events","html_url":"https://github.com/seeden/react-g-analytics/issues/7","id":125790846,"number":7,"title":"react router 2 support","user":{"login":"bdefore","id":142472,"avatar_url":"https://avatars.githubusercontent.com/u/142472?v=3","gravatar_id":"","url":"https://api.github.com/users/bdefore","html_url":"https://github.com/bdefore","followers_url":"https://api.github.com/users/bdefore/followers","following_url":"https://api.github.com/users/bdefore/following{/other_user}","gists_url":"https://api.github.com/users/bdefore/gists{/gist_id}","starred_url":"https://api.github.com/users/bdefore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdefore/subscriptions","organizations_url":"https://api.github.com/users/bdefore/orgs","repos_url":"https://api.github.com/users/bdefore/repos","events_url":"https://api.github.com/users/bdefore/events{/privacy}","received_events_url":"https://api.github.com/users/bdefore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-10T00:45:15Z","updated_at":"2016-01-13T17:32:13Z","closed_at":null,"body":"Perhaps use `context.router.setRouteLeaveHook` instead of `context.history.listen` ?\r\n\r\nhttps://github.com/rackt/react-router/blob/master/upgrade-guides/v2.0.0.md#lifecycle-mixin"},"comment":{"url":"https://api.github.com/repos/seeden/react-g-analytics/issues/comments/171373083","html_url":"https://github.com/seeden/react-g-analytics/issues/7#issuecomment-171373083","issue_url":"https://api.github.com/repos/seeden/react-g-analytics/issues/7","id":171373083,"user":{"login":"bdefore","id":142472,"avatar_url":"https://avatars.githubusercontent.com/u/142472?v=3","gravatar_id":"","url":"https://api.github.com/users/bdefore","html_url":"https://github.com/bdefore","followers_url":"https://api.github.com/users/bdefore/followers","following_url":"https://api.github.com/users/bdefore/following{/other_user}","gists_url":"https://api.github.com/users/bdefore/gists{/gist_id}","starred_url":"https://api.github.com/users/bdefore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdefore/subscriptions","organizations_url":"https://api.github.com/users/bdefore/orgs","repos_url":"https://api.github.com/users/bdefore/repos","events_url":"https://api.github.com/users/bdefore/events{/privacy}","received_events_url":"https://api.github.com/users/bdefore/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T17:32:13Z","updated_at":"2016-01-13T17:32:13Z","body":"Ended up being more straightforward, as there's a `listen` on router now instead of history. #8 "}}