Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Reactive Programming in Javascript
Search
Andres Osorio Plata
October 28, 2015
Programming
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
140
Todo App Angular 2
codeandrop
1
180
Other Decks in Programming
See All in Programming
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
190
phperだってパンチカードでコーディングしたい
o0h
PRO
0
330
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
630
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
450
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
300
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
気持ちぃ〜角丸 Squircle
ryu1013
0
310
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
350
AmebaブログはKMPから卒業します
kmars0605
0
180
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
The Cost Of JavaScript in 2023
addyosmani
55
10k
For a Future-Friendly Web
brad_frost
184
10k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
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