-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Hi @nandorojo Thanks for the work. In basic use, I think I am seeing my add() call mutate my list properly, but then sometimes (maybe 10-20% of the time) the new record is quickly overlayed by an object like the following where exists is false, etc. I tried a basic collection, no query params even, and the firestore db is fine, the data comes back fine if I refresh my NextJS app, the data and page look fine on mutate... but I am assuming there is a race condition here and don't see how to get around it currently. Help appreciated. Thanks!
exists: false
hasPendingWrites: false
id: "lQR2wuCMg36ykf8GKpw0"
__snapshot: undefined
Note: Subsequent adds may work fine, but the problematic one(s) remain so... until the browser refresh is hit.
Metadata
Metadata
Assignees
Labels
No labels