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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kalan
October 03, 2020
Programming
240
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
830
選擇 Svelte 的三個理由 - JSDC
kjj6198
0
440
Svelte - 如何在前端框架中脫穎而出 | ModernWeb'21
kjj6198
0
230
状態管理を楽にする道
kjj6198
1
450
Day25. 如何解析 HTML 語法
kjj6198
0
200
Svelte 如何編譯程式碼(1)
kjj6198
0
250
Day22. Svelte 經驗談
kjj6198
0
230
Day18. UI 實戰篇 - 圖片檢視器
kjj6198
0
210
Day17. UI 實戰篇 - 音樂播放器
kjj6198
0
110
Other Decks in Programming
See All in Programming
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
140
業務時間外もAIに働いてもらう話
colorful12
3
10k
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
300
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
520
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
1.1k
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
230
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
150
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
0
150
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
160
AI × TiDD / 2026.09.05 Redmine 大阪
tokudiro
1
120
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
180
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
130
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
The agentic SEO stack - context over prompts
schlessera
0
920
Utilizing Notion as your number one productivity tool
mfonobong
4
580
Producing Creativity
orderedlist
PRO
348
41k
Embracing the Ebb and Flow
colly
88
5.2k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
A better future with KSS
kneath
240
18k
Balancing Empowerment & Direction
lara
6
1.3k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
Agile that works and the tools we love
rasmusluckow
331
22k
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