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
RxJS Introduction
Search
r31gN_
July 25, 2016
Technology
58
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RxJS Introduction
r31gN_
July 25, 2016
More Decks by r31gN_
See All by r31gN_
State management in React using Context and Hooks APIs
r31gn
0
250
React internals (fibers, coroutines, algebraic effects)
r31gn
1
570
10 things you need to know about React 16
r31gn
0
420
Breaking React apart Fiber by Fiber
r31gn
0
280
Progressive Web Apps - The Future
r31gn
2
330
The Magic Behind HTTP/2
r31gn
0
170
Client Side Reactive Programming Using RxJS
r31gn
0
190
CSS Architecture
r31gn
1
140
Embrace Native JavaScript
r31gn
0
110
Other Decks in Technology
See All in Technology
2026 TECHFRESH 畢業分享會 - 開發日常大解密!從領域驅動到企業級上線
line_developers_tw
PRO
0
800
AGENTS.mdとSkillsで始めるAIエージェント活用
sonoda_mj
3
200
Claude Codeをどのように キャッチアップしているか
oikon48
6
4.1k
FinOps × AIエージェントで実現する コストインシデントの自動調査
oasis1994liveforever
0
130
SONiC Scale-Up Working Group から探る Scale-UpやUltraEthernet機能の実装方法
ebiken
PRO
1
120
2026 TECHFRESH 畢業分享會 - AI-Native 重塑軟體工程與虛擬講師
line_developers_tw
PRO
0
800
スキルと MCP ツール、責務をどう分けるか? AI が迷わないインターフェース設計の戦略
cdataj
1
950
Android の公式 Skill / Android skills
yanzm
0
130
On-behalf-of Token exchange with AgentCore Identity
hironobuiga
2
150
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
ポケモンの型をTypeScriptの型システムで表現してみた
subroh0508
0
370
2026TECHFRESH畢業分享會 - Lightning Talk - 資料也要 CI/CD? 用 Airbyte 自動化資料同步
line_developers_tw
PRO
0
800
Featured
See All Featured
Building a Scalable Design System with Sketch
lauravandoore
463
34k
KATA
mclloyd
PRO
35
15k
Designing for Performance
lara
611
70k
Scaling GitHub
holman
464
140k
From π to Pie charts
rasagy
0
210
Game over? The fight for quality and originality in the time of robots
wayneb77
1
200
Typedesign – Prime Four
hannesfritz
42
3.1k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
65
56k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
770
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
580
The Language of Interfaces
destraynor
162
27k
Transcript
RxJS introduction
Current state of UIs • Extremely complex • Full of
async events, client/server communication • UIs are always composed based on a state • State is hard to reason about
Imperative programming
None
User action UI Responds User action ….. Uses imperative programming
Uses imperative programming UI Responds time (s)
Caveats of IP • Isolates state from time • You
don’t see the bigger picture • Mutable values
Is there a way … ?
Reactive programming
– Andre Staltz “Reactive programming is programming with asynchronous data
streams.”
Streams • Sequence of ongoing events ordered in time •
Cheap, ubiquitous • Allow you to react to new data • Think event busses, typical click events, etc.
But in RP …
None
Observable/Observer • Observables are push-based, observable sequences that can send
data to anyone who is interested • Observers are entities who register an interest through a subscription to an Observable
Observers • Register via subscribe method • You get back
a Disposable object (a handler for the subscription) • onNext, onError, onCompleted
Demo time with RxJS
When to use RxJS • Orchestrate event-based computations • Deal
with async data • Complex UIs with lots of user interaction
Thank you! @r31gN_ https://github.com/r31gN/rxjs-demo-workshop