{"action":"created","issue":{"url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/136","repository_url":"https://api.github.com/repos/mobxjs/mobx-utils","labels_url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/136/comments","events_url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/136/events","html_url":"https://github.com/mobxjs/mobx-utils/issues/136","id":336790427,"node_id":"MDU6SXNzdWUzMzY3OTA0Mjc=","number":136,"title":"keepAliveLazy","user":{"login":"adamabeshouse","id":636232,"node_id":"MDQ6VXNlcjYzNjIzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/636232?v=4","gravatar_id":"","url":"https://api.github.com/users/adamabeshouse","html_url":"https://github.com/adamabeshouse","followers_url":"https://api.github.com/users/adamabeshouse/followers","following_url":"https://api.github.com/users/adamabeshouse/following{/other_user}","gists_url":"https://api.github.com/users/adamabeshouse/gists{/gist_id}","starred_url":"https://api.github.com/users/adamabeshouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamabeshouse/subscriptions","organizations_url":"https://api.github.com/users/adamabeshouse/orgs","repos_url":"https://api.github.com/users/adamabeshouse/repos","events_url":"https://api.github.com/users/adamabeshouse/events{/privacy}","received_events_url":"https://api.github.com/users/adamabeshouse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-28T21:42:34Z","updated_at":"2018-06-29T14:52:49Z","closed_at":null,"author_association":"NONE","body":"I'm running into 2 major issues with the current keepAlive implementation:\r\n\r\n(1) It prevents garbage disposal when there are no real references anymore (because its implementation using `.observe(()=>{})` creates a permanent reference)\r\n\r\n(2) It causes reactive re-computation whenever the observable dependencies change, which is not necessary.\r\n\r\nA version of this, \"keepAliveLazy\" maybe, which addresses these issues would be very useful"},"comment":{"url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/comments/401378741","html_url":"https://github.com/mobxjs/mobx-utils/issues/136#issuecomment-401378741","issue_url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/136","id":401378741,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTM3ODc0MQ==","user":{"login":"adamabeshouse","id":636232,"node_id":"MDQ6VXNlcjYzNjIzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/636232?v=4","gravatar_id":"","url":"https://api.github.com/users/adamabeshouse","html_url":"https://github.com/adamabeshouse","followers_url":"https://api.github.com/users/adamabeshouse/followers","following_url":"https://api.github.com/users/adamabeshouse/following{/other_user}","gists_url":"https://api.github.com/users/adamabeshouse/gists{/gist_id}","starred_url":"https://api.github.com/users/adamabeshouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamabeshouse/subscriptions","organizations_url":"https://api.github.com/users/adamabeshouse/orgs","repos_url":"https://api.github.com/users/adamabeshouse/repos","events_url":"https://api.github.com/users/adamabeshouse/events{/privacy}","received_events_url":"https://api.github.com/users/adamabeshouse/received_events","type":"User","site_admin":false},"created_at":"2018-06-29T14:52:49Z","updated_at":"2018-06-29T14:52:49Z","author_association":"NONE","body":"@mweststrate The difference is that I want it to stay cached outside the context of a reaction.\r\n\r\nAs I think about it more, I don't think it's possible to accomplish (1) without manual disposal, so I'll drop that need."}}
{"actor":{"display_login":"adamabeshouse"}}