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
0
55
React behind the scenes
How React.js works behind the scenes
Igor Halfeld
March 15, 2019
Tweet
Share
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
110
Clean Architecture no Front-end (update 2021-05-11)
igorhalfeld
0
66
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
390
CSS in JavaScripto, the anti-pattern that is good
igorhalfeld
1
100
Other Decks in Programming
See All in Programming
AIに任せる範囲を安全に広げるためにやっていること
fukucheee
0
130
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
710
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
2.7k
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
360
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
710
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
360
Windows on Ryzen and I
seosoft
0
250
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
170
エラーログのマスキングの仕組みづくりに役立ったASTの話
kumoichi
0
170
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
190
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
140
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
560
Featured
See All Featured
Visualization
eitanlees
150
17k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
150
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
120
Navigating Weather and Climate Data
rabernat
0
130
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
WCS-LA-2024
lcolladotor
0
480
The Pragmatic Product Professional
lauravandoore
37
7.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
270
The SEO Collaboration Effect
kristinabergwall1
0
390
Side Projects
sachag
455
43k
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