MCPcopy Index your code
hub / github.com/FirebaseExtended/reactfire / getDocObservableId

Function getDocObservableId

src/firestore.tsx:33–35  ·  view source on GitHub ↗
(ref: DocumentReference)

Source from the content-addressed store, hash-verified

31}
32
33function getDocObservableId(ref: DocumentReference) {
34 return `firestore:doc:${ref.firestore.app.name}:${ref.path}`;
35}
36
37/**
38 * Suscribe to Firestore Document changes

Callers 2

preloadFirestoreDocFunction · 0.85
useFirestoreDocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected