{"action":"created","issue":{"url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/28","repository_url":"https://api.github.com/repos/mobxjs/mobx-utils","labels_url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/28/comments","events_url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/28/events","html_url":"https://github.com/mobxjs/mobx-utils/pull/28","id":194512299,"number":28,"title":"add reset feature for lazyObservable","user":{"login":"daitr92","id":9055707,"avatar_url":"https://avatars.githubusercontent.com/u/9055707?v=3","gravatar_id":"","url":"https://api.github.com/users/daitr92","html_url":"https://github.com/daitr92","followers_url":"https://api.github.com/users/daitr92/followers","following_url":"https://api.github.com/users/daitr92/following{/other_user}","gists_url":"https://api.github.com/users/daitr92/gists{/gist_id}","starred_url":"https://api.github.com/users/daitr92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daitr92/subscriptions","organizations_url":"https://api.github.com/users/daitr92/orgs","repos_url":"https://api.github.com/users/daitr92/repos","events_url":"https://api.github.com/users/daitr92/events{/privacy}","received_events_url":"https://api.github.com/users/daitr92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-09T04:38:33Z","updated_at":"2016-12-09T04:41:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mobxjs/mobx-utils/pulls/28","html_url":"https://github.com/mobxjs/mobx-utils/pull/28","diff_url":"https://github.com/mobxjs/mobx-utils/pull/28.diff","patch_url":"https://github.com/mobxjs/mobx-utils/pull/28.patch"},"body":"In my case, I have a Tab component with two tabs (**Opening issues** and **Closed issues**). \r\n\r\nIn each tab, we have a list of issues. Two tabs use only one lazyObservable instance. This instance fetch data from server base on the **state** flag of issue.\r\n\r\nWhen user changes between tabs, we reset the lazyObservable instance to initial state. Then **current()** will fetch data again.\r\n"},"comment":{"url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/comments/265932247","html_url":"https://github.com/mobxjs/mobx-utils/pull/28#issuecomment-265932247","issue_url":"https://api.github.com/repos/mobxjs/mobx-utils/issues/28","id":265932247,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T04:41:26Z","updated_at":"2016-12-09T04:41:26Z","body":"\n[![Coverage Status](https://coveralls.io/builds/9201267/badge)](https://coveralls.io/builds/9201267)\n\nCoverage increased (+0.05%) to 97.297% when pulling **bf46ac052beb44082249392f05cd19e5be6d7a35 on daitr92:master** into **b9b35875b25c81073c9483476ebc054f12e13755 on mobxjs:master**.\n"}}
{"actor":{"display_login":"coveralls"}}