{"action":"closed","issue":{"url":"https://api.github.com/repos/WebRxJS/WebRx/issues/15","labels_url":"https://api.github.com/repos/WebRxJS/WebRx/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/WebRxJS/WebRx/issues/15/comments","events_url":"https://api.github.com/repos/WebRxJS/WebRx/issues/15/events","html_url":"https://github.com/WebRxJS/WebRx/issues/15","id":113640222,"number":15,"title":"Allow list to reset using a new inner array","user":{"login":"patsissons","id":5505280,"avatar_url":"https://avatars.githubusercontent.com/u/5505280?v=3","gravatar_id":"","url":"https://api.github.com/users/patsissons","html_url":"https://github.com/patsissons","followers_url":"https://api.github.com/users/patsissons/followers","following_url":"https://api.github.com/users/patsissons/following{/other_user}","gists_url":"https://api.github.com/users/patsissons/gists{/gist_id}","starred_url":"https://api.github.com/users/patsissons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patsissons/subscriptions","organizations_url":"https://api.github.com/users/patsissons/orgs","repos_url":"https://api.github.com/users/patsissons/repos","events_url":"https://api.github.com/users/patsissons/events{/privacy}","received_events_url":"https://api.github.com/users/patsissons/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WebRxJS/WebRx/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-27T17:38:47Z","updated_at":"2015-11-08T11:11:49Z","closed_at":"2015-11-08T11:11:49Z","body":"I was just thinking about how to solve this and decided this is probably best done internal to the wx framework. To goal is to replace the internal list with a new list (or alternatively replace the internal list contents with those from a new list), then generate a reset notification.\r\n\r\nThe use case for this feature request is \"user clicks a button, new data is fetched async, list contents are replaced, UI renders updated list contents\"\r\n\r\nI think the functionality already exists to do this (via suppress, clear, addRange, dispose) but a more convenient method would be to simply allow `reset(newData)`\r\n\r\nThoughts?"}}