Reusable Components and rxjs Observables in Ionic-Angular | Lava Lamp Lab
kotlin
Android: A quick Kotlin Eksperience
Apr 4, 2019
content management systems or websites
Why Should You Use A Content Management System (CMS)
May 7, 2019

Reusable Components and rxjs Observables in Ionic-Angular

ionic framework

Original Presentation: Reusable Components and rxjs Observables in Ionic-Angular

 

Why write reusable components?

  • Apps generally repeat layouts
  • Save yourself a ton of headache while debugging(if you need to make changes you make them in one place)
  • Ability to extend functionality based on use cases or new requirements when app grows

 

Lets actually write one !

 

Rxjs Observables with Reusable Components

  • What do Observables
    • Observables watch for state changes (to put it as simple as possible)

Scenario

Updating a user profile photo that lives inside a reusable component that is being called. From a side menu and profile screen

Possible solution ??? (any takers)

 

Doing is it with Rxjs observables

 

Changing the state

Leave a Reply

Your email address will not be published.