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
Client Side Reactive Programming Using RxJS
Search
r31gN_
July 25, 2016
Technology
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Client Side Reactive Programming Using RxJS
r31gN_
July 25, 2016
Transcript
15 slides
Client-side reactive programming (using RxJS)
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
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-presentation
More Decks by r31gN_
See All by r31gN_
State management in React using Context and Hooks APIs
r31gn
0
270
React internals (fibers, coroutines, algebraic effects)
r31gn
1
590
10 things you need to know about React 16
r31gn
0
440
Breaking React apart Fiber by Fiber
r31gn
0
290
Progressive Web Apps - The Future
r31gn
2
370
The Magic Behind HTTP/2
r31gn
0
180
CSS Architecture
r31gn
1
150
Embrace Native JavaScript
r31gn
0
120
From Callback Hell To Promises Heaven
r31gn
1
200
Other Decks in Technology
See All in Technology
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
810
文書画像からの情報抽出を行うエージェントを、軌跡の正解データ無しで作れるか
sansantech
PRO
2
230
20261113_AWS Organizations運用を下支えするCFn StackSetsの柔軟性
dkduppf
0
110
セキュリティチームは どのコンテナイメージの脆弱性対応を優先すべきか 〜CISA新指針とSCCで作る脆弱性トリアージ〜
swdtkuy
0
280
農家は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
3
670
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
650
共通基盤の実装に Kotlin - Quarkus を選定した理由と採用したアーキテクチャ
nealle
1
160
現地速報! Microsoft Ignite アップデートレポート
kasada
1
430
AIエージェントのアーキテクチャ設計
nsatoh
0
450
20261119_AgentCore
takuyay0ne
1
180
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
290
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
580
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
990
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
500
My Coaching Mixtape
mlcsv
0
390
Everyday Curiosity
cassininazir
0
410
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
110
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
AI: The stuff that nobody shows you
jnunemaker
PRO
12
1.3k
Making the Leap to Tech Lead
cromwellryan
135
10k