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
Berani Bikin Virtual DOM Sendiri?
Search
Fathurozak Buhari
November 26, 2019
Programming
43
0
Share
Berani Bikin Virtual DOM Sendiri?
Fathurozak Buhari
November 26, 2019
More Decks by Fathurozak Buhari
See All by Fathurozak Buhari
How No-Code Helps Us Focus on Innovation
rozakbuhari
0
48
Qore: Backend-as-A-Service Workshop
rozakbuhari
0
120
Qore SDK in Action
rozakbuhari
0
120
Other Decks in Programming
See All in Programming
おれのAgentic Coding 2026/03
tsukasagr
1
140
安いハードウェアでVulkan
fadis
1
960
Make GenAI Production-Ready with Kubernetes Patterns
bibryam
0
110
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
270
Vibe NLP for Applied NLP
inesmontani
PRO
0
360
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
330
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
200
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
120
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.9k
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
320
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
770
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
360
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
420
Embracing the Ebb and Flow
colly
88
5k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
250
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
220
The Art of Programming - Codeland 2020
erikaheidi
57
14k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Transcript
Virtual DOM
Pesan Sponsor!
Jangan lupa untuk selalu support open-source!
None
Apa itu Virtual DOM?
DOM
Virtual DOM
Kenapa kita butuh Virtual DOM?
DOM manipulation is Expensive!!!
None
๏ Parse HTML ๏ Destroy existing child nodes ๏ Create
child nodes ๏ Recompute styles ๏ Recompute layout ๏ Update Javascript variables Browser Reflow https://developers.google.com/speed/docs/insights/browser-reflow
Apa yang Virtual DOM lakukan untuk memecahkan masalah tersebut?
source: https://www.oreilly.com/library/view/learning-react-native/9781491929049/ch02.html Diffing Algorithm
Bagaimana Virtual DOM di-Implementasi-kan?
None
Beberapa komponen dari Virtual DOM: • DOM Abstraction: createElement() •
Renderer: renderNode() • Diff checker: diff() • Patcher: patch()
DOM Abstraction
createElement()
None
None
Renderer
renderNode()
None
Diffing Algorithm
None
Patching
None
Full-usage
None
Thank You!
Fathurozak Buhari @rozakbuhari https://github.com/rozakbuhari