{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleWebComponents/firebase-element/issues/23","labels_url":"https://api.github.com/repos/GoogleWebComponents/firebase-element/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/GoogleWebComponents/firebase-element/issues/23/comments","events_url":"https://api.github.com/repos/GoogleWebComponents/firebase-element/issues/23/events","html_url":"https://github.com/GoogleWebComponents/firebase-element/issues/23","id":83830669,"number":23,"title":"[1.0.0] Computed value method not called correctly on firebase-collection data changes","user":{"login":"hawkett","id":134568,"avatar_url":"https://avatars.githubusercontent.com/u/134568?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkett","html_url":"https://github.com/hawkett","followers_url":"https://api.github.com/users/hawkett/followers","following_url":"https://api.github.com/users/hawkett/following{/other_user}","gists_url":"https://api.github.com/users/hawkett/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkett/subscriptions","organizations_url":"https://api.github.com/users/hawkett/orgs","repos_url":"https://api.github.com/users/hawkett/repos","events_url":"https://api.github.com/users/hawkett/events{/privacy}","received_events_url":"https://api.github.com/users/hawkett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-02T04:23:00Z","updated_at":"2015-06-02T04:23:00Z","closed_at":null,"body":"[JSBin demonstrating the problem] (http://jsbin.com/dufosa/6/edit?html,console,output)\r\n\r\nIn the example, computeVal(peeps) is called _before_ the firebase event is logged, and not after - so the only computed value is against the empty list, despite there being a result. Repeated execution reliably gives the same ordering results.\r\n\r\nStrong suspicion I'm doing something wrong here, but not sure what - I'm not seeing this problem with firebase-document (or with any other computed values I've been using).\r\n\r\nI'm not sure how long that firebase DB will stick around - it was created as part of the [firebase tutorial](https://www.firebase.com/tutorial/#gettingstarted). Here's the console output:\r\n\r\n```\r\n\"Adding Firebase event handlers.\"\r\n\"computing\"\r\n[]\r\n\"fbase-test Ready\"\r\n\"Firebase Event: \\\"child_added\\\"\"\r\n[object Object] {\r\n  name: \"Rick Astley\",\r\n  text: \"It's never going to let me down.\"\r\n}\r\nnull\r\n\"Firebase Event: \\\"value\\\"\"\r\n[object Object] {\r\n  -ImBnI0WLch7L7ndl6Qd: [object Object] {\r\n    name: \"Rick Astley\",\r\n    text: \"It's never going to let me down.\"\r\n  }\r\n}\r\n\"FIREBASE WARNING: Using an unspecified index. Consider adding \\\".indexOn\\\": \\\"name\\\" at / to your security rules for better performance \"\r\n```\r\n"}}