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
20260315 AWSなんもわからん🥲
chiilog
2
160
CSC307 Lecture 15
javiergs
PRO
0
260
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
140
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
410
モダンOBSプラグイン開発
umireon
0
160
Claude Code Skill入門
mayahoney
0
400
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
130
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
190
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1.1k
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
420
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
240
OTP を自動で入力する裏技
megabitsenmzq
0
120
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6k
Site-Speed That Sticks
csswizardry
13
1.1k
Ruling the World: When Life Gets Gamed
codingconduct
0
180
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
350
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
180
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The untapped power of vector embeddings
frankvandijk
2
1.6k
Technical Leadership for Architectural Decision Making
baasie
3
290
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Ethics towards AI in product and experience design
skipperchong
2
230
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
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