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
Day24. Svelte 如何編譯程式碼(2)
Search
Kalan
October 03, 2020
Programming
260
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Day24. Svelte 如何編譯程式碼(2)
Kalan
October 03, 2020
More Decks by Kalan
See All by Kalan
單頁式應用中的無障礙設計
kjj6198
0
870
選擇 Svelte 的三個理由 - JSDC
kjj6198
0
470
Svelte - 如何在前端框架中脫穎而出 | ModernWeb'21
kjj6198
0
270
状態管理を楽にする道
kjj6198
1
490
Day25. 如何解析 HTML 語法
kjj6198
0
230
Svelte 如何編譯程式碼(1)
kjj6198
0
300
Day22. Svelte 經驗談
kjj6198
0
270
Day18. UI 實戰篇 - 圖片檢視器
kjj6198
0
250
Day17. UI 實戰篇 - 音樂播放器
kjj6198
0
160
Other Decks in Programming
See All in Programming
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
710
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
220
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
130
SODA - FACT BOOK(EN)
sodainc
1
200
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
14
11k
Event is what happens
moro
2
3.2k
Next.js: The final boss of Web Performance
guaca
0
380
オーケストレーション記述言語 Katari
yukikurage
0
220
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
3
1.4k
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
230
Groovy as a human and AI friendly programming language
paulk
0
170
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
220
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
550
30 Presentation Tips
portentint
PRO
1
460
Why Our Code Smells
bkeepers
PRO
340
58k
Raft: Consensus for Rubyists
vanstee
143
7.8k
My Coaching Mixtape
mlcsv
0
380
It's Worth the Effort
3n
188
29k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
Scaling GitHub
holman
464
140k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
第 12 屆 IT 鐵⼈賽 30 天從 0 到 1
學 Svelte Day24 - Svelte 如何編譯程式碼(2)
第 12 屆 IT 鐵⼈賽 Svelte 會將元件編譯
第 12 屆 IT 鐵⼈賽 create_fragment
第 12 屆 IT 鐵⼈賽 create_fragment c(create): 建立 element element:
document.createElement text: document.createTextNode append: target.appendChild detach: target.removeChild
第 12 屆 IT 鐵⼈賽 create_fragment m(mount): 將 Element 放入
DOM 當中 p(patch): 元件更新時的執⾏函數 i(intro): 當 transition 存在時的執⾏ 函數 o(outro):當 transition 出場時 d(detch): 當元件銷毀時的執⾏函數
第 12 屆 IT 鐵⼈賽 instance Svelte 元件裡頭執⾏的程式會被包在 instance 中
第 12 屆 IT 鐵⼈賽 event listener
第 12 屆 IT 鐵⼈賽 SvelteComponent
第 12 屆 IT 鐵⼈賽 SvelteComponent