You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 19, 2025. It is now read-only.
When persistence is enabled for Firestore (by calling enablePersistence method) all documents and queries are cached locally. When using Firestore(Element|Mixin) with live: false I'd expect it to set the property value to locally cached data while the fresh copy is being downloaded. This behavior should be configurable when someone does not want to rely on locally cached data despite enabling persistence.
When persistence is enabled for Firestore (by calling
enablePersistencemethod) all documents and queries are cached locally. When usingFirestore(Element|Mixin)withlive: falseI'd expect it to set the property value to locally cached data while the fresh copy is being downloaded. This behavior should be configurable when someone does not want to rely on locally cached data despite enabling persistence.It can be achieved by using
onSnapshotinstead ofgetmethod (see 2f5d602#diff-cd706bcc157b02ba8cbc5d4fb834a3eeR198)