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
170
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
220
React internals (fibers, coroutines, algebraic effects)
r31gn
1
350
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
230
The Magic Behind HTTP/2
r31gn
0
130
CSS Architecture
r31gn
1
110
Embrace Native JavaScript
r31gn
0
88
From Callback Hell To Promises Heaven
r31gn
1
110
Other Decks in Technology
See All in Technology
MixIT 2024 - Pulumi : Gérer son infra avec son langage de programmation préféré
ju_hnny5
1
120
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
37k
GrafanaMeetup_AmazonManagedGrafanaのアクセス制御機能とマルチテナント環境下でのアクセス制御について
daitak
0
400
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
1k
Android Target SDK 35 (Android 15) 対応の概要
akkie76
0
160
成長をサポートするピープルマネジメントのやり方
sioncojp
9
1.2k
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
1
650
Azureの基本的な権限管理の勉強会
yhana
1
2.1k
今日からできる!簡単 .NET 高速化 Tips -2024 edition-
xin9le
7
3.9k
BPStudyの200回を中心にIT業界を振り返る。そしてこれから
haru860
3
410
Além do else! Categorizando Pokemóns com Pattern Matching no JavaScript
wmsbill
0
710
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
360
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Typedesign – Prime Four
hannesfritz
36
2.1k
How to name files
jennybc
65
93k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Making the Leap to Tech Lead
cromwellryan
125
8.5k
Designing for humans not robots
tammielis
247
25k
Bash Introduction
62gerente
605
210k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
GraphQLの誤解/rethinking-graphql
sonatard
55
9.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
Clear Off the Table
cherdarchuk
85
310k
Web development in the modern age
philhawksworth
203
10k
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