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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
r31gN_
July 25, 2016
Technology
59
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
260
React internals (fibers, coroutines, algebraic effects)
r31gn
1
580
10 things you need to know about React 16
r31gn
0
430
Breaking React apart Fiber by Fiber
r31gn
0
280
Progressive Web Apps - The Future
r31gn
2
340
The Magic Behind HTTP/2
r31gn
0
170
Client Side Reactive Programming Using RxJS
r31gn
0
200
CSS Architecture
r31gn
1
140
Embrace Native JavaScript
r31gn
0
110
Other Decks in Technology
See All in Technology
20260817_生成AIの動向と中学校・高等学校での活用を考える_v1.00_公開用
doradora09
PRO
0
140
その“隠したつもり”が命取り ── 自前と平文をやめて「正解」に委ねる
kuroneko13
0
140
Genie Codeハンズオン応用編
taka_aki
0
130
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
170
DDDのエッセンスを取り入れたAIでの開発
ak2ie
0
170
LLM・AIエージェントシステムベストプラクティス
shibuiwilliam
6
1.6k
MIXIで活躍できるエンジニアを 若手社員目線で考えてみる
mixi_engineers
PRO
0
110
Sets in Go
ramalho
1
1.2k
2027年のMetricKit
kantacky
0
130
ハーレムエンジニアリング
kazuma777777
0
190
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
AIのためのEthernet技術動向 (SerDes)
markunet
1
250
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
9
930
The Limits of Empathy - UXLibs8
cassininazir
1
610
Everyday Curiosity
cassininazir
0
290
Rails Girls Zürich Keynote
gr2m
96
14k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
210
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
270
Practical Orchestrator
shlominoach
191
12k
Typedesign – Prime Four
hannesfritz
42
3.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
170
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