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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Oursky Limited
June 23, 2015
Programming
1
410
Flux + React
Oursky Limited
June 23, 2015
Tweet
Share
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
520
SSH Can
oursky
1
330
HTTP/2
oursky
0
370
watchOS2
oursky
0
360
Common QA issues
oursky
0
220
Complex is better than complicated
oursky
0
300
Clean code again
oursky
3
390
KiriKiri x O2 x NVLMarker
oursky
0
260
git_workflow.pdf
oursky
0
310
Other Decks in Programming
See All in Programming
AI活用のコスパを最大化する方法
ochtum
0
260
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
350
Windows on Ryzen and I
seosoft
0
340
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
3
1.5k
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
2.8k
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
130
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
340
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
140
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
200
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
210
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
230
Feature Toggle は捨てやすく使おう
gennei
0
200
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
990
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
How to Talk to Developers About Accessibility
jct
2
160
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
290
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
220
エンジニアに許された特別な時間の終わり
watany
106
240k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
330
Technical Leadership for Architectural Decision Making
baasie
3
300
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Thoughts on Productivity
jonyablonski
75
5.1k
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