Check out a free preview of the full Firebase + React: Real-time, Serverless Web Apps course:
The "Introducing DataSnapshot" Lesson is part of the full, Firebase + React: Real-time, Serverless Web Apps course featured in this preview video. Here's what you'd learn in this lesson:

Any time data is read from the database data is received as a DataSnapshot. Steve demonstrates how to read database when it changes, update the state of the component, and render the result in the browser. - - https://firebase.google.com/docs/reference/js/firebase.database.DataSnapshot - https://facebook.github.io/react/docs/react-component.html#setstate

Get Unlimited Access Now