{"action":"created","issue":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/483","repository_url":"https://api.github.com/repos/mxstbr/react-boilerplate","labels_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/483/comments","events_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/483/events","html_url":"https://github.com/mxstbr/react-boilerplate/issues/483","id":158754757,"number":483,"title":"Clearing Async Injected Sagas / Reducers","user":{"login":"jadidian","id":650099,"avatar_url":"https://avatars.githubusercontent.com/u/650099?v=3","gravatar_id":"","url":"https://api.github.com/users/jadidian","html_url":"https://github.com/jadidian","followers_url":"https://api.github.com/users/jadidian/followers","following_url":"https://api.github.com/users/jadidian/following{/other_user}","gists_url":"https://api.github.com/users/jadidian/gists{/gist_id}","starred_url":"https://api.github.com/users/jadidian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadidian/subscriptions","organizations_url":"https://api.github.com/users/jadidian/orgs","repos_url":"https://api.github.com/users/jadidian/repos","events_url":"https://api.github.com/users/jadidian/events{/privacy}","received_events_url":"https://api.github.com/users/jadidian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-06T19:26:54Z","updated_at":"2016-06-06T19:53:27Z","closed_at":null,"body":"Hi folks, is there a way for clearing asynchronously loaded sagas / reducers after leaving a page / route?\r\nWhat bothers me is that when I create a new container with route and everything, first time I mount that container everything is OK, but if I go back to another route and then re-visit that page the sagas will run twice... The same happens with your example project, first time on home page I enter a GitHub username I can see one `LOAD_REPOS` and one `LOAD_REPOS_SUCCESS` being called, but if I go to the features page and then return to home page for each `LOAD_REPOS` now two `LOAD_REPOS_SUCCESS` are firing, and if I do it again it keeps triggering more and more  `LOAD_REPOS_SUCCESS` actions, any thoughts?"},"comment":{"url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/comments/224068784","html_url":"https://github.com/mxstbr/react-boilerplate/issues/483#issuecomment-224068784","issue_url":"https://api.github.com/repos/mxstbr/react-boilerplate/issues/483","id":224068784,"user":{"login":"jadidian","id":650099,"avatar_url":"https://avatars.githubusercontent.com/u/650099?v=3","gravatar_id":"","url":"https://api.github.com/users/jadidian","html_url":"https://github.com/jadidian","followers_url":"https://api.github.com/users/jadidian/followers","following_url":"https://api.github.com/users/jadidian/following{/other_user}","gists_url":"https://api.github.com/users/jadidian/gists{/gist_id}","starred_url":"https://api.github.com/users/jadidian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadidian/subscriptions","organizations_url":"https://api.github.com/users/jadidian/orgs","repos_url":"https://api.github.com/users/jadidian/repos","events_url":"https://api.github.com/users/jadidian/events{/privacy}","received_events_url":"https://api.github.com/users/jadidian/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T19:53:27Z","updated_at":"2016-06-06T19:53:27Z","body":"I've just pulled the latest changes and checked it, it seems that you guys have already fixed the issue, my repo was 2 weeks old... So I'm gonna check what has been changed since two weeks ago."}}
{"actor":{"display_login":"jadidian"}}