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
0
180
Client Side Reactive Programming Using RxJS
r31gN_
July 25, 2016
Tweet
Share
More Decks by r31gN_
See All by r31gN_
State management in React using Context and Hooks APIs
r31gn
0
230
React internals (fibers, coroutines, algebraic effects)
r31gn
1
450
10 things you need to know about React 16
r31gn
0
400
Breaking React apart Fiber by Fiber
r31gn
0
260
Progressive Web Apps - The Future
r31gn
2
270
The Magic Behind HTTP/2
r31gn
0
160
CSS Architecture
r31gn
1
120
Embrace Native JavaScript
r31gn
0
93
From Callback Hell To Promises Heaven
r31gn
1
140
Other Decks in Technology
See All in Technology
Devin&Cursor、それぞれの「本質」から導く最適ユースケース戦略
empitsu
8
2.4k
LT:組込み屋さんのオシロが壊れた!
windy_pon
0
450
Roo Codeにすべてを委ねるためのルール運用
pharma_x_tech
1
230
Redmineの意外と知らない便利機能 (Redmine 6.0対応版)
vividtone
0
1.2k
mnt_data_とは?ChatGPTコード実行環境を深堀りしてみた
icck
0
210
Swiftは最高だよの話
yuukiw00w
2
290
RDRA3.0を知ろう
kanzaki
2
430
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
360k
libsyncrpcってなに?
uhyo
0
150
AIとSREの未来 / AI and SRE
ymotongpoo
2
1.3k
“⾞が通れるほど⼤きな”セキュリティーホールを抑えながらログインしたい
taiseiue
0
160
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
Featured
See All Featured
Docker and Python
trallard
44
3.4k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
1
79
Balancing Empowerment & Direction
lara
1
87
Code Reviewing Like a Champion
maltzj
523
40k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
620
What's in a price? How to price your products and services
michaelherold
245
12k
Embracing the Ebb and Flow
colly
85
4.7k
Bash Introduction
62gerente
614
210k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.6k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
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