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
Flux + React
Search
Oursky Limited
June 23, 2015
Programming
410
1
Share
Flux + React
Oursky Limited
June 23, 2015
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
530
SSH Can
oursky
1
340
HTTP/2
oursky
0
370
watchOS2
oursky
0
370
Common QA issues
oursky
0
220
Complex is better than complicated
oursky
0
310
Clean code again
oursky
3
400
KiriKiri x O2 x NVLMarker
oursky
0
260
git_workflow.pdf
oursky
0
310
Other Decks in Programming
See All in Programming
ハーネスエンジニアリングとは?
kinopeee
13
6.5k
Don't Prompt Harder, Structure Better
kitasuke
0
800
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
280
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
300
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
270
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
320
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
Vibe NLP for Applied NLP
inesmontani
PRO
0
560
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
160
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
400
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
2
370
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
940
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
How to build a perfect <img>
jonoalderson
1
5.4k
Design in an AI World
tapps
1
210
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
Utilizing Notion as your number one productivity tool
mfonobong
4
300
The SEO Collaboration Effect
kristinabergwall1
1
440
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Prompt Engineering for Job Search
mfonobong
0
290
Thoughts on Productivity
jonyablonski
76
5.1k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
410
Building the Perfect Custom Keyboard
takai
2
740
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
Transcript
Flux + React Rick Mak May 2015
One of the pain DOM
Direct DOM = painful = BUG
Age of Backbone Model View
Works Great in small scale
more Model; more View
It is SLOW
Let Optimise it
None
Say Hello to VirtualDOM
Model Virtual DOM DOM Interact with VirtualDOM Data Data Event
Event
setState will trigger render Define your view
React calculate the diff • Set state will mark the
red dot • React will find out the blue dots • Re-render with only the modified dom Source: https://facebook.github.io/react/img/blog/react-diff-tree.png
Fast without spaghetti
Let focus on Logic
State inconsistency Very common in single page webapp
State inconsistency • Server sync not sync with client state
• item missing • duplicate item • State between client not sync • State panic with poor internet
Flux fix that
It is a pattern A pattern enforcing unidirectional data flow
Flux is not framework
View Action Store Dispatcher Server
Unidirectional data flow • Faster debug • Faster on boarding
• Faster iteration • Less cascading effect
Thank you