{"action":"created","issue":{"url":"https://api.github.com/repos/muut/riotjs/issues/339","labels_url":"https://api.github.com/repos/muut/riotjs/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/muut/riotjs/issues/339/comments","events_url":"https://api.github.com/repos/muut/riotjs/issues/339/events","html_url":"https://github.com/muut/riotjs/issues/339","id":57213583,"number":339,"title":"dom not updating when array changed(v2.0.8)","user":{"login":"txchen","id":713074,"avatar_url":"https://avatars.githubusercontent.com/u/713074?v=3","gravatar_id":"","url":"https://api.github.com/users/txchen","html_url":"https://github.com/txchen","followers_url":"https://api.github.com/users/txchen/followers","following_url":"https://api.github.com/users/txchen/following{/other_user}","gists_url":"https://api.github.com/users/txchen/gists{/gist_id}","starred_url":"https://api.github.com/users/txchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/txchen/subscriptions","organizations_url":"https://api.github.com/users/txchen/orgs","repos_url":"https://api.github.com/users/txchen/repos","events_url":"https://api.github.com/users/txchen/events{/privacy}","received_events_url":"https://api.github.com/users/txchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-02-10T18:17:09Z","updated_at":"2015-03-11T20:38:19Z","closed_at":null,"body":"Click to add subbugs, the first time UI would update, but after that, UI never update again.\r\n\r\n```html\r\n<bugtest>\r\n  <bugdetail each={ bd, i in bugdata } data={ bd }></bugdetail>\r\n\r\n  this.bugdata = [\r\n    { title: \"bug1\", subbugs:[1, 2, 3, 3, 3] },\r\n    { title: \"bug2\", subbugs:[] }\r\n  ]\r\n</bugtest>\r\n\r\n<bugdetail>\r\n  <div ondblclick={addSubBug}>{ bugtitle } count= {subbugs.length}</div>\r\n  <ul>\r\n    <li each={ sub, i in subbugs }>\r\n      {sub}\r\n    </li>\r\n    <li onclick={ addSubBug }>+</li>\r\n  </ul>\r\n\r\n  var self = this\r\n  self.bugtitle = opts.data.title\r\n  self.subbugs = opts.data.subbugs\r\n\r\n  addSubBug(e) {\r\n    self.subbugs.push(100)\r\n    console.log(self.subbugs)\r\n  }\r\n</bugdetail>\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/muut/riotjs/issues/comments/78365856","html_url":"https://github.com/muut/riotjs/issues/339#issuecomment-78365856","issue_url":"https://api.github.com/repos/muut/riotjs/issues/339","id":78365856,"user":{"login":"txchen","id":713074,"avatar_url":"https://avatars.githubusercontent.com/u/713074?v=3","gravatar_id":"","url":"https://api.github.com/users/txchen","html_url":"https://github.com/txchen","followers_url":"https://api.github.com/users/txchen/followers","following_url":"https://api.github.com/users/txchen/following{/other_user}","gists_url":"https://api.github.com/users/txchen/gists{/gist_id}","starred_url":"https://api.github.com/users/txchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/txchen/subscriptions","organizations_url":"https://api.github.com/users/txchen/orgs","repos_url":"https://api.github.com/users/txchen/repos","events_url":"https://api.github.com/users/txchen/events{/privacy}","received_events_url":"https://api.github.com/users/txchen/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T20:38:19Z","updated_at":"2015-03-11T20:38:19Z","body":"@sheastreet thanks for the info:)"}}