I have a node in Firebase getting continually updated with information from a logfile. The node is lines/
and each child of lines/
is from a
You have the right idea. child_added
should be called only for the new nodes. Without source code it's hard to tell why you get all the data in your child_added
event.
You can check the chat demo app to see how they load new chat messages. The use case sounds similar.
https://github.com/firebase/firechat/blob/master/src/js/firechat.js#L347