I\'m a beginner to Angular. I\'m watching the tutorial of Mosh Hamedani using the Angular version 6 but the problem is the tutorial version is 4. I\'m working on the e-comme
As the time of writing this answer, In AngularFireObject you have to use either valueChanges() or snapshotChanges(). You can read the documentation here
Coming to your concern if you simply modify your code from
item$.pipe(take(1)).subscribe(item => {})
to
item$.valueChanges().pipe(take(1)).subscribe(item => {})
will solve your problem.