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
Immutable, Performance and Component Communication
Search
Randy Lien
March 23, 2015
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Immutable, Performance and Component Communication
React.JS TW fifth meetup
Randy Lien
March 23, 2015
More Decks by Randy Lien
See All by Randy Lien
The ideas of Clojure - Things I learn from Clojure
randylien
0
210
Django Girls 2015 - HTML
randylien
1
230
Django Girls 2015 - CSS
randylien
1
180
React.JS Conf & f8
randylien
1
230
Introduce Flux & React in KKBOX
randylien
6
460
What is the next step for a front end beginner
randylien
1
120
Understand front end developer
randylien
2
220
Introduce Flux & React in practice
randylien
8
480
UI Engineering Introduction
randylien
0
68
Other Decks in Programming
See All in Programming
Building an Out-of-Order CPU
latte72
1
750
Laravelのアプリケーションをどこにデプロイするか #ツナギメオフライン.9
akase244
0
120
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
160
一参加者から『中の人』へ 〜全通PHPerがブースに立って学んだ、カンファレンスを100倍楽しむコツ〜
wp_daisuke
0
140
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
0
150
RSSとCodexを使ってX投稿自動化してみた
ochtum
0
110
How I Stole PSI from Android Studio - DroidKaigi2026
worker8
0
100
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
140
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
490
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
2.7k
巨大モノリシックアプリ モダン化大作戦
ktcryomm
0
570
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
920
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
What's in a price? How to price your products and services
michaelherold
247
13k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
830
Code Review Best Practice
trishagee
74
20k
Done Done
chrislema
186
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
230
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
65k
30 Presentation Tips
portentint
PRO
1
390
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Transcript
Immutable Performance Randy Lien @React.JS TW 第五次⼩小聚
About Me • @randylien • Front end developer
Agenda • Immutable • Performance • Components Communication • Conclusion
Functional Programming
None
Why Immutable? • Immutable data has no side effect! •
Shared mutable state is the root of all evil - Pete Hunt • You will not get hurt by yourself or someone
None
Why Immutable? (cont.) • Immutable.js is fast enough and memory
optimisation • Why Om is faster ? Data or Value is immutable in Clojure/ClojureScript • Immutable + PureRenderMixin
Simple Made Easy
Performance
Performance • Pure Component (prop & state) • shouldComponentUpdate •
Don’t update when its the same
Performance (cont.) • Container Component Pattern • Container Component as
Data Layer • Data fetching • Component is all about its behaviour • Testing Container or Gallery Container
Components Communication
How to Communicate • Parent - Children • Use Callbacks
• No relationship • Global event hub • Flux • Codecademy • Adapter, broadcast • Channel (CSP) • Cursor (react-cursor)
None
Conclusion
Conclusion • Embracing Immutable data for the future (JavaScript) development
• Componentize your User Interface • Loose coupling your component • Container Component • General Component • You can pick the suitable solution for your needs
None
Conclusion(cont.) • Watch Simple made easy • Try Clojure/ClojureScript
FAQ