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
200
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
270
React internals (fibers, coroutines, algebraic effects)
r31gn
1
590
10 things you need to know about React 16
r31gn
0
430
Breaking React apart Fiber by Fiber
r31gn
0
290
Progressive Web Apps - The Future
r31gn
2
350
The Magic Behind HTTP/2
r31gn
0
180
CSS Architecture
r31gn
1
140
Embrace Native JavaScript
r31gn
0
110
From Callback Hell To Promises Heaven
r31gn
1
200
Other Decks in Technology
See All in Technology
12 個 Tool と、 4,096 Token
hlum
0
140
大型犬好きによるPugの紹介
yamanoku
1
150
Getting Started with Google Antigravity
glaforge
0
230
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
300
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
340
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
150
Kiro Crewをはじめよう
kizawa2020
1
150
ゲームのリアルタイム通信から見た QUIC と MoQ
segadevtech
0
110
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
130
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
1
560
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
570
パッチ更新でterraform initが落ちた日
grimoh
1
120
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Done Done
chrislema
187
17k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Tell your own story through comics
letsgokoyo
1
1.1k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
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