showing results for - "angularfiredatabase n c3 a3o c3 a9 mais um observable 3f 3f"
Isabella
17 Aug 2020
1// change to valueChanges()
2constructor(afDb: AngularFireDatabase) {
3  afDb.list('items').subscribe(console.log);
4}
5//to
6constructor(afDb: AngularFireDatabase) {
7  afDb.list<Item>('items').valueChanges().subscribe(console.log);
8}