ngrx-course-v7
ngrx-course-v7 copied to clipboard
How to unsubscribe datasource to prevent memory leak
https://github.com/angular-university/angular-ngrx-course/blob/86459ae0612a4848b6a60030b06af6f7e0e0f109/src/app/courses/services/lessons.datasource.ts#L38
when to unsubscribe this observable?
Hi Zack, this article may help explain a bit more in depth about unsubscribing from observables.
https://brianflove.com/2016/12/11/anguar-2-unsubscribe-observables/