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
Client Side Reactive Programming Using RxJS
Search
r31gN_
July 25, 2016
Technology
190
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
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
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
CSS Architecture
r31gn
1
140
Embrace Native JavaScript
r31gn
0
110
From Callback Hell To Promises Heaven
r31gn
1
190
Other Decks in Technology
See All in Technology
Data + AI Summit 2026 イベントレポート: 「AIがビジネスで意思決定するデータ基盤」へ
nek0128
0
160
非定型なドキュメントを効率よくリファクタする 〜えぇ!?仕様書27本の移行が1日で終わったって!?〜
subroh0508
2
430
SoccerMaster: A Vision Foundation Model for Soccer Understanding
kzykmyzw
0
110
美しいコードを書くためにF#を学んでみた話
yud0uhu
1
430
Type-safe IaC for Dart
coborinai
0
110
脱金融のフューチャー・デザイン / Future Design Beyond Finance
ks91
PRO
0
150
10年目を迎えた「ABEMA」がどのように AI 活用を推進して、AI 駆動開発にシフトしているのか / How ABEMA, entering its 10th year, is promoting the use of AI and shifting toward AI-driven development
miyukki
0
150
CSに"SLO"は要らない、経営層に"99.9%"は伝わらない - SREを全社に"翻訳"する3原則
cscengineer
PRO
1
4.6k
“それは自分の仕事じゃない"を越えて行け
yuukiyo
1
370
ヘルスケア領域における AI 活用と その安全性担保のための取り組み (Leveraging AI in Healthcare and Our Efforts to Ensure Its Safety) - Google I/O Extended Tokyo 2026, July 11, 2026
zettaittenani
0
380
環境凍結という Toil を倒す -セルフサービス型 Ephemeral テスト環境の 設計と実践
shirouz
1
2.4k
生成AI×AWS CDK×AWS FISで"振り返れる"ミニGameDayをつくろう
yoshimi0227
1
160
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
360
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
A Soul's Torment
seathinner
6
3.1k
Code Review Best Practice
trishagee
74
20k
Building Applications with DynamoDB
mza
96
7.1k
The Spectacular Lies of Maps
axbom
PRO
1
860
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
63
55k
Crafting Experiences
bethany
1
210
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
220
Transcript
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