{"action":"opened","issue":{"url":"https://api.github.com/repos/yahoo/fluxible/issues/27","labels_url":"https://api.github.com/repos/yahoo/fluxible/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/yahoo/fluxible/issues/27/comments","events_url":"https://api.github.com/repos/yahoo/fluxible/issues/27/events","html_url":"https://github.com/yahoo/fluxible/issues/27","id":54253766,"number":27,"title":"Delete store content if no longer needed","user":{"login":"tindli","id":6454552,"avatar_url":"https://avatars.githubusercontent.com/u/6454552?v=3","gravatar_id":"","url":"https://api.github.com/users/tindli","html_url":"https://github.com/tindli","followers_url":"https://api.github.com/users/tindli/followers","following_url":"https://api.github.com/users/tindli/following{/other_user}","gists_url":"https://api.github.com/users/tindli/gists{/gist_id}","starred_url":"https://api.github.com/users/tindli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tindli/subscriptions","organizations_url":"https://api.github.com/users/tindli/orgs","repos_url":"https://api.github.com/users/tindli/repos","events_url":"https://api.github.com/users/tindli/events{/privacy}","received_events_url":"https://api.github.com/users/tindli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-13T21:54:46Z","updated_at":"2015-01-13T21:54:46Z","closed_at":null,"body":"Lets say there is a page with a /products link that populates a product store with a ton of data.\r\n\r\nIf someone then clicks on a link to a totally unrelated content e.g. \"/about\" one would\r\npossibly like to reset/delete the content of the product-store to reduce the memory pressure.\r\n\r\nSo what is the appropriate way to delete store entries in an automated way?\r\n\r\nOne way I can think of is to allow a store to delete its content as\r\nsoon as the last listener is detached... this should be configurable\r\nbut disabled as a default I think.\r\n\r\nHow do you handle store data that is not required anymore?"}}