If I run the above code, the user document gets updated twice leading to:
profile.count == 2
If I don't set "useFirestoreForProfile", it works as expected:
user.count == 1
If I don't have another document delete or update before updating the user document, it does work, too. (even with "useFirestoreForProfile" == true)
Even if I am running this from outside via node it works as expected.
That is why I am considering this as a bug.
Hi!
I want to delete and update a couple of docs in a redux action, but I have boiled down the problem to the following:
If I run the above code, the user document gets updated twice leading to:
profile.count == 2
If I don't set "useFirestoreForProfile", it works as expected:
user.count == 1
If I don't have another document delete or update before updating the user document, it does work, too. (even with "useFirestoreForProfile" == true) Even if I am running this from outside via node it works as expected. That is why I am considering this as a bug.
Note: I am using firebase emulators.
firebase@10.5.0 react-redux-firebase@3.3.1