id | lesson | learnAbout | seeAlso | title | layout | class | preview_image | preview_image_alt |
---|---|---|---|---|---|---|---|---|
fromEvent |
1 |
filter |
map |
Learn reactive programming - Lesson 1, A stream of toggle events |
default |
post |
fromEvent/content_preview.jpg |
fromEvent reactive operator and streams |
{% include card_player.html video=238067747 episode=false %}
fromEvent
is a function that accepts a source of events, such as click events on a toggle. As a result, it creates a sequence of events over time. This sequence is called a stream.
Reactive programming is programming with streams.
Reactive stream libraries like RxJS let you:
- create a stream from various sources
- transform and filter a stream in different ways
- combine multiple streams
- and more!