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
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!
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!
Note: Subsequent adds may work fine, but the problematic one(s) remain so... until the browser refresh is hit.
The text was updated successfully, but these errors were encountered: