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
Day24. Svelte 如何編譯程式碼(2)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kalan
October 03, 2020
Programming
0
220
Day24. Svelte 如何編譯程式碼(2)
Kalan
October 03, 2020
Tweet
Share
More Decks by Kalan
See All by Kalan
單頁式應用中的無障礙設計
kjj6198
0
810
選擇 Svelte 的三個理由 - JSDC
kjj6198
0
380
Svelte - 如何在前端框架中脫穎而出 | ModernWeb'21
kjj6198
0
200
状態管理を楽にする道
kjj6198
1
410
Day25. 如何解析 HTML 語法
kjj6198
0
160
Svelte 如何編譯程式碼(1)
kjj6198
0
220
Day22. Svelte 經驗談
kjj6198
0
190
Day18. UI 實戰篇 - 圖片檢視器
kjj6198
0
180
Day17. UI 實戰篇 - 音樂播放器
kjj6198
0
93
Other Decks in Programming
See All in Programming
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
490
CSC307 Lecture 13
javiergs
PRO
0
310
AIプロダクト時代のQAエンジニアに求められること
imtnd
2
750
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
330
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
740
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
120
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
380
Codex の「自走力」を高める
yorifuji
0
1.1k
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
340
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
240
株式会社 Sun terras カンパニーデック
sunterras
0
2k
SourceGeneratorのマーカー属性問題について
htkym
0
170
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
51k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
So, you think you're a good person
axbom
PRO
2
1.9k
Done Done
chrislema
186
16k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
120
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
460
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
230
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
180
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
97
How to Talk to Developers About Accessibility
jct
2
150
Design in an AI World
tapps
0
160
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