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
Transcript
21 slides
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
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
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
260
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
410
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
700
自宅サーバはどこまで再現できるのか - Proxmox VE上のVM環境をIaCとバックアップで戻してみた
youto
0
450
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
300
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
360
Ruby から Emacs を操作したい
phigasui
0
380
Distance field of Julia set
kinakomoti321
0
330
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6.1k
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
510
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
190
Featured
See All Featured
Building Adaptive Systems
keathley
44
3.3k
KATA
mclloyd
PRO
35
16k
The Art of Programming - Codeland 2020
erikaheidi
57
15k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
640
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
2k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
400
HDC tutorial
michielstock
2
1k
Optimising Largest Contentful Paint
csswizardry
37
4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
Faster Mobile Websites
deanohume
310
32k