Reactive Programming

RxJS

What is Reactive Programming?

  • Rx = Observables + LINQ + Schedulers
  • Reactive programming is programming with asynchronous data streams
  • Amazing toolbox of functions to combine, create and filter any of those streams

Why should I consider adopting RP?

  • RP raises the level of abstraction of your code
  • Apps nowadays have a lot of real-time events
  • We need tools for properly dealing with that

RxJS

The essential concepts on RxJS

  • Observable
  • Observer
  • Subscription
  • Subject
  • Operators
  • Schedulers

Observable

Observer

Subscription

Subject

Operators

Scheduler

Example

Thanks for listening!

Made with Slides.com