I'm a bit unclear what valueChanges actually does -- if my subscription looks like this:
(Typescript/Angular)
this.accountsCollection = this.firestore.collection(`budgets/${budgetId}/accounts`);
this.accounts$ = this.accountsCollection.valueChanges();
this.accountsSubscription = this.accounts$.subscribe(accountData => {
AccountsManager.getInstance().loadData(accountData)
})
Am I going to get the whole collection each time a collection document is updated, added, deleted etc, or just the document that changed.
If I only wanted to see changes in the subscription (added/updated/deleted) how can get a subscription which does that?