The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Understand Reactive Programming using RxJS

Understand Reactive Programming using RxJS

4:31
This lesson introduces Reactive Programming using RxJS in simple terms, with a concrete example and no scary terminology.
Watch this lesson now
Avatar
egghead.io

This lesson introduces Reactive Programming using RxJS in simple terms, with a concrete example and no scary terminology.

Avatar
Aleksandar

Are there speed benefits of using RxJS observables in angular 1.x apps? Cant find any performance related article by googling it. I expect some way to decrease number of watchers. Do I understand rx in right way?

In reply to egghead.io
Avatar
Brendan

How does the reduce function know that you've reached the end of the event stream?

Avatar
Andre

Hi Brendan. A stream can emit 3 types of events: normal data to the next callback, errors to the error callback, and end of stream with the complete callback. This is how the reduce operator can conclude with one value: as soon as the source completes, it outputs the reduced value.

In reply to Brendan
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?