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
The React Approach for Building Apps
Search
Ricardo Soares
March 08, 2016
Programming
35
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The React Approach for Building Apps
Ricardo Soares
March 08, 2016
More Decks by Ricardo Soares
See All by Ricardo Soares
Refactor: the tool should not be your process
rsoares
0
54
A gentle intro to Backbone.js
rsoares
0
58
Other Decks in Programming
See All in Programming
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
610
オーケストレーション記述言語 Katari
yukikurage
0
220
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
150
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
570
graphql-ruby を Spinel で速くしようとした話
mtsmfm
0
140
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
310
No More NoSuchMethodError
exoego
1
120
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
230
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
280
GraphQL の onError と Nullability のこれから
quramy
0
200
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
280
Featured
See All Featured
Technical Leadership for Architectural Decision Making
baasie
3
630
ラッコキーワード サービス紹介資料
rakko
5
5.7M
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Navigating Team Friction
lara
192
16k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
First, design no harm
axbom
PRO
2
1.4k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
The SEO identity crisis: Don't let AI make you average
varn
0
630
Discover your Explorer Soul
emna__ayadi
2
1.3k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
Transcript
The React Approach for Building Apps Or how it breaks
tradition
It’s all about perspective ...
It’s all about perspective - BackboneJS is a lightweight MV*
library - AngularJS focus on extending HTML - EmberJS is more imperative - ReactJS sets a functional design pattern - VueJS prefers the “visual” separation of concerns
Tradition HTML JavaScript CSS DOM Network Cache
Tradition HTML JavaScript CSS DOM Network Cache UI DATA
Sometimes tradition is hard to deal with
Sometimes tradition is hard to deal with JavaScript UI
Sometimes tradition is hard to deal JavaScript onfocus UI
Sometimes tradition is hard to deal JavaScript onclick onfocus UI
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
UI
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI updateA()
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI updateB() updateA()
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI updateC() updateB() updateA()
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI ... updateC() updateB() updateA()
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI ... updateC() updateB() updateA() DATA
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI ... updateC() updateB() updateA() DATA onprogress
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI ... updateC() updateB() updateA() DATA onprogress onload
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI ... updateC() updateB() updateA() DATA onprogress onload onerror
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI ... updateC() updateB() updateA() DATA onprogress onload onerror ...
Sometimes tradition is hard to deal JavaScript onclick onfocus onchange
... UI ... updateC() updateB() updateA() DATA onprogress onload onerror ... MUCH STATE!
Sometimes tradition is hard to deal - Key-Value Observation (Backbone,
Ember) - Dirty Checking (Angular)
The problem - Deal with the DOM stateful nature -
Seamlessly react to actions/events - Eventually apply updates to the real DOM (and maintain performance)
A different approach - Simple - Predictable - Reliable
Virtual DOM
Virtual DOM A N C B Virtual DOM ... DOM
Successive renders Updates
Lower internals footprint “Simplicity is prerequisite for reliability” Edsger W.
Dijkstra
It’s functional!
It is composable!
It’s a state machine!
Recap - Lots of different approaches out there - Some
have more opinionated than others - DOM is stateful and JS is not reactive - React approach: a Virtual DOM - React was built for simplicity
Thank you! rsoares @botequilha References: http://teropa.info/blog/2015/03/02/change-and-its-detection-in-javascript-frameworks.html https://facebook.github.io/react/docs/displaying-data.html https://www.youtube.com/watch?v=-DX3vJiqxm4