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
Berani Bikin Virtual DOM Sendiri?
Search
Fathurozak Buhari
November 26, 2019
Programming
51
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Berani Bikin Virtual DOM Sendiri?
Fathurozak Buhari
November 26, 2019
Transcript
31 slides
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
More Decks by Fathurozak Buhari
See All by Fathurozak Buhari
How No-Code Helps Us Focus on Innovation
rozakbuhari
0
57
Qore: Backend-as-A-Service Workshop
rozakbuhari
0
130
Qore SDK in Action
rozakbuhari
0
130
Other Decks in Programming
See All in Programming
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
610
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.6k
はじめてのPLATEAU
nokonoko1203
1
670
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
230
Apache Airflow Introduction
leew
1
100
JavaScriptはシングルバイナリの夢を見るか / Does JavaScript Dream of a Single Binary?
ssssota
0
420
protojson における文字化けの扱い
kazuki1023
0
470
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
420
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
The Invisible Side of Design
smashingmag
301
52k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Google's AI Overviews - The New Search
badams
0
1.7k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
790
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Building the Perfect Custom Keyboard
takai
2
970
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k