Open colinlemmehelp opened 3 years ago
https://github.com/peterfriese/BookSpine/blob/main/code/BookSpine/ViewModels/BooksViewModel.swift Need to use .subscribe() and .unsubscribe() to handle these
https://stackoverflow.com/questions/55819951/firebase-realtime-listener-concept-how-to-detach-unsubscribe-from-the-listen
try this? basically just call the value that is created there.. I think
Or try this: https://stackoverflow.com/questions/61822307/how-to-remove-observer-in-swiftui
https://stackoverflow.com/questions/46756915/how-to-detach-firestore-listener
https://firebase.google.com/docs/firestore/query-data/listen
https://github.com/peterfriese/BookSpine/blob/main/code/BookSpine/ViewModels/BooksViewModel.swift Need to use .subscribe() and .unsubscribe() to handle these