Firebase V9 Firestore Get Document Data With Real-Time Updates

Raja Tamil
2 min readJan 13, 2023

Learn how to get document data with real-time updates using the onSnapshot() method from Cloud Firestore in Firebase version 9.

The sample Firestore Database has a cities collection that has two documents in it, like in the screenshot below.

--

--

Raja Tamil

👇click the link and get 80% OFF on the premium web development courses (HTML5, CSS3, JavaScript ES6, Vue JS 3 & Firebase 10 https://softauthor.com