So my head is slowly understanding the Firebase docs, and I think I know understand the Document Snapshot as seen here: https://firebase.google.com/docs/reference/js/firebase.firestore.DocumentSnapshot.
But when I log the snapshot, it looks like this
t {
_delegate: e {_firestore: e, _userDataWriter: e, _key: t, _document: t, _converter: null, …}
_firestore: t {_delegate: e, Jc: t, INTERNAL: {…}, Yc: FirebaseAppImpl}
exists: (...) // expected
id: (...) // expected
metadata: (...) // expected
ref: (...) // expected
}
I have tried googling, but I cannot seem to find out what _delagate or _ firestore do or reference. My brain is telling me that they are part of what creates the snapshot, and not to worry about them, but my curiosity is piquing.
If anyone has a simple high lever explanation, that would be appreciated.