Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Reactive Programming in Javascript
Search
Andres Osorio Plata
October 28, 2015
Programming
130
0
Share
Reactive Programming in Javascript
- What is RxJS
- Event Stream
- Why RxJS
- Rx Functions
Andres Osorio Plata
October 28, 2015
More Decks by Andres Osorio Plata
See All by Andres Osorio Plata
Material Design Lite
codeandrop
0
130
Todo App Angular 2
codeandrop
1
170
Other Decks in Programming
See All in Programming
iOS26時代の新規アプリ開発
yuukiw00w
0
190
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
430
バックエンドにElysiaJSを採用して気付いた、良い点・悪い点
wanko_it
1
150
AWSはOSSをどのように 考えているのか?
akihisaikeda
1
140
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
460
AI時代になぜ書くのか
mutsumix
0
450
開発体験を左右するライブラリの API 設計 - GraphQL スキーマ構築ライブラリから考える #tskaigi
izumin5210
2
480
AI Agent と正しく分析するための環境作り
yoshyum
2
570
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
1
890
ふにゃっとしない名前の付け方 〜哲学で茹で上げる、コシのあるソフトウェア設計〜
shimomura
0
130
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
190
Agent Skills を社内で育てる仕組み作り
jackchuka
1
2.3k
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.2k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.6k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
260
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
230
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Un-Boring Meetings
codingconduct
0
290
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.2k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
190
Docker and Python
trallard
47
3.8k
So, you think you're a good person
axbom
PRO
2
2k
Transcript
Reactive Programming in Javascript Andres Osorio @codeandrop
Agenda • What is RxJS • Event Stream • Why
RxJS • Rx Functions • Demo time!
RxJS - What • Asynchronous • Event-based • Observable sequences
• Fluent query operators (filter, map, etc) • Extends the observer pattern • Data Streams
Event Stream
ASCII Diagram
RxJS - Why • Avoid callback hell • Treat streams
like collections (Array) • Promises on steroids • No flow control statements (if/for/etc)
RxJS - Definition • Specify dynamic values behavior at time
of declaration
Double click event stream
Example - "Who to follow" box
Rx Functions - map
Rx Functions - map
Rx Functions - flatMap
Rx Functions - flatMap
Rx Functions - merge
Rx Functions - merge
Rx Functions - merge
Rx Functions - combineLatest
Rx Functions - combineLatest
Demo Time!
Links • http://jsfiddle.net/staltz/8jFJH/48/ • https://gist.github.com/staltz/868e7e9bc2a7b8c1f754 • https://egghead.io/series/introduction-to-reactive- programming
Andres Osorio @codeandrop