My Notes on Typescript and AngularFirebase
Read & Manipulate A Document: i.e. Increment
- Need to import
take(1)so you do not end up in an infinite loop since you are editing the same object you are reading
- DO NOT FORGET
.subscribe()at the end.