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
51
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
180
How to migrate legacy frontend?
igorhalfeld
1
120
Patterns for perfect components in Vue.js
igorhalfeld
0
110
Clean Architecture no Front-end (update 2021-05-11)
igorhalfeld
0
52
Step by step I followed a career in software
igorhalfeld
0
700
Using AI to create memes
igorhalfeld
0
520
Deninho, the TS children
igorhalfeld
1
210
Micro Front-ends, what they don't tell you
igorhalfeld
0
380
CSS in JavaScripto, the anti-pattern that is good
igorhalfeld
1
90
Other Decks in Programming
See All in Programming
Making Angular Apps Smarter with Generative AI: Local and Offline-capable
christianliebel
PRO
0
100
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
5
320
マイベストのシンプルなデータ基盤の話 - Googleスイートとのつき合い方 / mybest-simple-data-architecture-google-nized
snhryt
0
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
670
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.9k
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
220
Designing Repeatable Edits: The Architecture of . in Vim
satorunooshie
0
220
Developer Joy - The New Paradigm
hollycummins
1
400
Blazing Fast UI Development with Compose Hot Reload (Bangladesh KUG, October 2025)
zsmb
2
450
CSC305 Lecture 13
javiergs
PRO
0
340
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
330
Researchlyの開発で参考にしたデザイン
adsholoko
0
110
Featured
See All Featured
Balancing Empowerment & Direction
lara
5
710
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Mobile First: as difficult as doing things right
swwweet
225
10k
The World Runs on Bad Software
bkeepers
PRO
72
11k
How to train your dragon (web standard)
notwaldorf
97
6.3k
Why Our Code Smells
bkeepers
PRO
340
57k
Agile that works and the tools we love
rasmusluckow
331
21k
Visualization
eitanlees
150
16k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
The Language of Interfaces
destraynor
162
25k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
2.9k
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