{"action":"created","issue":{"url":"https://api.github.com/repos/firebase/reactfire/issues/53","labels_url":"https://api.github.com/repos/firebase/reactfire/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/firebase/reactfire/issues/53/comments","events_url":"https://api.github.com/repos/firebase/reactfire/issues/53/events","html_url":"https://github.com/firebase/reactfire/issues/53","id":97819903,"number":53,"title":"Removing records from Firebase not reflecting correctly in app","user":{"login":"martellaj","id":1019478,"avatar_url":"https://avatars.githubusercontent.com/u/1019478?v=3","gravatar_id":"","url":"https://api.github.com/users/martellaj","html_url":"https://github.com/martellaj","followers_url":"https://api.github.com/users/martellaj/followers","following_url":"https://api.github.com/users/martellaj/following{/other_user}","gists_url":"https://api.github.com/users/martellaj/gists{/gist_id}","starred_url":"https://api.github.com/users/martellaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martellaj/subscriptions","organizations_url":"https://api.github.com/users/martellaj/orgs","repos_url":"https://api.github.com/users/martellaj/repos","events_url":"https://api.github.com/users/martellaj/events{/privacy}","received_events_url":"https://api.github.com/users/martellaj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/firebase/reactfire/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-28T22:59:53Z","updated_at":"2015-07-29T04:29:23Z","closed_at":"2015-07-29T04:29:23Z","body":"Let me set the stage for you. Small todo list app. List of todo items are stored in a Firebase database, they have 2 properties (text and done). My todo list app has 2 ways to delete records from the database: delete individual items or delete all that are done.\r\n\r\nI'm finding that if I have a list of 3 items, say A, B, and C, and I delete A, the list is rendered incorrectly and instead of being B, C it will be A, B, even though the correct item was deleted in the database and ReactFire returned the correct list of items! \r\n\r\nI'm unsure of what to do. You can see the code I'm having trouble with in a [branch I set up for you](https://github.com/martellaj/react-seed/tree/reactfire-array-update-issue), complete with your own db to play with (already added test items in for you). To run the code, just clone, npm install, and gulp.\r\n\r\nPlease reach out if I can provide anything else!"},"comment":{"url":"https://api.github.com/repos/firebase/reactfire/issues/comments/125835253","html_url":"https://github.com/firebase/reactfire/issues/53#issuecomment-125835253","issue_url":"https://api.github.com/repos/firebase/reactfire/issues/53","id":125835253,"user":{"login":"martellaj","id":1019478,"avatar_url":"https://avatars.githubusercontent.com/u/1019478?v=3","gravatar_id":"","url":"https://api.github.com/users/martellaj","html_url":"https://github.com/martellaj","followers_url":"https://api.github.com/users/martellaj/followers","following_url":"https://api.github.com/users/martellaj/following{/other_user}","gists_url":"https://api.github.com/users/martellaj/gists{/gist_id}","starred_url":"https://api.github.com/users/martellaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martellaj/subscriptions","organizations_url":"https://api.github.com/users/martellaj/orgs","repos_url":"https://api.github.com/users/martellaj/repos","events_url":"https://api.github.com/users/martellaj/events{/privacy}","received_events_url":"https://api.github.com/users/martellaj/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T04:29:23Z","updated_at":"2015-07-29T04:29:23Z","body":"Apparently explicitly setting unique keys on dynamic lists is important in React. Lesson learned. Y'all are good. Awesome library!"}}