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
0
130
Reactive Programming in Javascript
- What is RxJS
- Event Stream
- Why RxJS
- Rx Functions
Andres Osorio Plata
October 28, 2015
Tweet
Share
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
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
180
AWS Infrastructure as Code の新機能 2025 総まとめ~ SA 4人による怒涛のデモ祭り ~
konokenj
8
2.1k
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
310
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
220
CSC307 Lecture 10
javiergs
PRO
1
690
CopilotKit + AG-UIを学ぶ
nearme_tech
PRO
1
110
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
450
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
7
1.2k
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
210
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
110
AI主導でFastAPIのWebサービスを作るときに 人間が構造化すべき境界線
okajun35
0
310
株式会社 Sun terras カンパニーデック
sunterras
0
1.9k
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
850
Being A Developer After 40
akosma
91
590k
The agentic SEO stack - context over prompts
schlessera
0
670
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
660
Designing Powerful Visuals for Engaging Learning
tmiket
0
250
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
79
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
130
We Are The Robots
honzajavorek
0
180
Documentation Writing (for coders)
carmenintech
77
5.3k
Facilitating Awesome Meetings
lara
57
6.8k
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