Understand Reactive Programming using RxJS

André Staltz
InstructorAndré Staltz

Share this video with your friends

Send Tweet

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

Brendan Whiting
Brendan Whiting
~ 4 years ago

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

André Staltz
André Staltzinstructor
~ 4 years ago

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.

Brendan Whiting
Brendan Whiting
~ 4 years ago

Cool thx

Rob
Rob
~ 4 years ago

Observable.interval(400).take(9).map(...) is not explained. Why? Never mind the man behind the curtain?

Nauris Vilcmeirs
Nauris Vilcmeirs
~ 3 years ago

4:21 - it should be 42, not 33.

jaybe78
jaybe78
~ 3 years ago
Milan Barande
Milan Barande
~ 2 years ago

Please get a microphone pop filter

J. Matthew
J. Matthew
~ 2 years ago

This is such a great intro to the concept.