Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 960 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 960 Bytes

Module 09 - Reactive Services,

Projects:

fun-with-rx-services Introduction to reactive development in angular

RxJS in Angular Services

  • We learned how to develop stateful services using BehaviorSubject and expose it as an observable using the .asObservable() method
  • We understood that if we subscribe to an observable we must also unsubscribe from it when we are done with it to avoid memory leaks
  • We saw that we can bind directly to an observable using the async pipe in the html
  • We learned the term Fully Reactive Application as one where we pass observables all the way from the services to the html templates
  • We saw how to configure manual change detection for components and understood that it can dramatically improve performance
  • We saw how to inject the ChangeDetectorRef and to manually activate detectChanges to force invalidation of the DOM