'Firestore inconsistent query reponse when modifying data

After modifying a document the collection query returns first an array with only the modified document and after a few seconds the correct list of documents.

In angular this behavior makes the trackBy useless and ngFor renders the complete list instead of rendering only the updated element

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source