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
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
200
Django Girls 2015 - HTML
randylien
1
200
Django Girls 2015 - CSS
randylien
1
170
React.JS Conf & f8
randylien
1
230
Introduce Flux & React in KKBOX
randylien
6
450
What is the next step for a front end beginner
randylien
1
110
Understand front end developer
randylien
2
210
Introduce Flux & React in practice
randylien
8
470
UI Engineering Introduction
randylien
0
64
Other Decks in Programming
See All in Programming
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.6k
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
360k
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
180
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
430
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
320
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.6k
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
190
TypeScript+Orvalで実現する型安全かつ堅牢でスケーラブルなマルチチャネル通知基盤 / TSKaigi Night talks ~after conference~
d0riven
0
380
Lessons from Spec-Driven Development
simas
PRO
0
240
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.8k
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
3
320
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
460
Featured
See All Featured
BBQ
matthewcrist
89
10k
How to Talk to Developers About Accessibility
jct
2
270
Amusing Abliteration
ianozsvald
1
220
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
500
Prompt Engineering for Job Search
mfonobong
0
360
Facilitating Awesome Meetings
lara
57
7k
Writing Fast Ruby
sferik
630
63k
Unsuck your backbone
ammeep
672
58k
WENDY [Excerpt]
tessaabrams
11
38k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
We Are The Robots
honzajavorek
0
260
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