{"action":"created","issue":{"url":"https://api.github.com/repos/rackt/react-router/issues/2748","labels_url":"https://api.github.com/repos/rackt/react-router/issues/2748/labels{/name}","comments_url":"https://api.github.com/repos/rackt/react-router/issues/2748/comments","events_url":"https://api.github.com/repos/rackt/react-router/issues/2748/events","html_url":"https://github.com/rackt/react-router/pull/2748","id":123178498,"number":2748,"title":"Tear down route leave hooks upon leaving route","user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-20T19:22:44Z","updated_at":"2015-12-20T19:23:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rackt/react-router/pulls/2748","html_url":"https://github.com/rackt/react-router/pull/2748","diff_url":"https://github.com/rackt/react-router/pull/2748.diff","patch_url":"https://github.com/rackt/react-router/pull/2748.patch"},"body":null},"comment":{"url":"https://api.github.com/repos/rackt/react-router/issues/comments/166148461","html_url":"https://github.com/rackt/react-router/pull/2748#issuecomment-166148461","issue_url":"https://api.github.com/repos/rackt/react-router/issues/2748","id":166148461,"user":{"login":"taion","id":3112159,"avatar_url":"https://avatars.githubusercontent.com/u/3112159?v=3","gravatar_id":"","url":"https://api.github.com/users/taion","html_url":"https://github.com/taion","followers_url":"https://api.github.com/users/taion/followers","following_url":"https://api.github.com/users/taion/following{/other_user}","gists_url":"https://api.github.com/users/taion/gists{/gist_id}","starred_url":"https://api.github.com/users/taion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion/subscriptions","organizations_url":"https://api.github.com/users/taion/orgs","repos_url":"https://api.github.com/users/taion/repos","events_url":"https://api.github.com/users/taion/events{/privacy}","received_events_url":"https://api.github.com/users/taion/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T19:23:18Z","updated_at":"2015-12-20T19:23:18Z","body":"This also adds some test coverage for that code path.\r\n\r\n@ryanflorence What do you think of making this `setRouteLeaveHook` instead of `addRouteLeaveHook` though? I feel like it's not so useful to have multiple leave hooks for the same route."}}