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
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
240
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
360
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
130
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
maplibre-gl-layers - 地図に移動体たくさん表示したい
kekyo
PRO
0
470
AI 開発合宿を通して得た学び
niftycorp
PRO
0
170
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
780
Pythonデータ分析コトハジメinFukuoka
kanan
0
100
Ruby and LLM Ecosystem 2nd
koic
1
1.3k
Rethinking API Platform Filters
vinceamstoutz
0
240
Nuxt Server Components
wattanx
0
110
AI活用のコスパを最大化する方法
ochtum
0
310
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.2k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.8k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
150
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
92
Darren the Foodie - Storyboard
khoart
PRO
3
3k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
91
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
77
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