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
React behind the scenes
Search
Igor Halfeld
March 15, 2019
Programming
57
0
Share
React behind the scenes
How React.js works behind the scenes
Igor Halfeld
March 15, 2019
More Decks by Igor Halfeld
See All by Igor Halfeld
Modular monoliths with fastify
igorhalfeld
0
200
How to migrate legacy frontend?
igorhalfeld
1
130
Patterns for perfect components in Vue.js
igorhalfeld
0
120
Clean Architecture no Front-end (update 2021-05-11)
igorhalfeld
0
67
Step by step I followed a career in software
igorhalfeld
0
710
Using AI to create memes
igorhalfeld
0
530
Deninho, the TS children
igorhalfeld
1
220
Micro Front-ends, what they don't tell you
igorhalfeld
0
400
CSS in JavaScripto, the anti-pattern that is good
igorhalfeld
1
110
Other Decks in Programming
See All in Programming
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.5k
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
160
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
OTP を自動で入力する裏技
megabitsenmzq
0
130
20260315 AWSなんもわからん🥲
chiilog
2
180
「速くなった気がする」をデータで疑う
senleaf24
0
130
ファインチューニングせずメインコンペを解く方法
pokutuna
0
250
最初からAWS CDKで技術検証してもいいんじゃない?
akihisaikeda
4
180
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
Feature Toggle は捨てやすく使おう
gennei
0
400
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
130
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
280
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Optimizing for Happiness
mojombo
378
71k
The SEO identity crisis: Don't let AI make you average
varn
0
430
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.5k
Odyssey Design
rkendrick25
PRO
2
560
How to train your dragon (web standard)
notwaldorf
97
6.6k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Transcript
React behind the scenes. Virtual DOM, reconciliation phase, diff algorithm..
Igor Halfeld Software Engineer & Consultancy igorluiz.me - @IgorHalfeld
None
None
None
None
Vamos começar suavão..
Browser É mágica!
User interface Browser Engine Render Engine Data persistence Networking JavaScript
Interpreter UI Back-end
DOM Document Object Model
None
Virtual DOM “Virtual” Document Object Model
None
None
Até agora, tudo legal…
Beleza, e então? O front-end moderno começa depois do Angular
1.x
Watcher DOM Watcher State Watcher
Virtual DOM Wrapper
Deu bom
Vamos imaginar… …a construção de uma interface.
<p> <div> <section>
Recursivo!
None
Render e eventos usam a main thread! Imagina se tivesse
muitos childrens e fazer handling de eventos ao mesmo tempo!
None
Precisamos ter o controle! A main thread precisa estar disponível
para updates prioritários.
section div button return children sibling Fiber
None
None
None
Onde eu quero chegar com tudo isso?
Obrigado! igorluiz.me/talks - @IgorHalfeld