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
Slide DevCoach
Search
shabilla
April 08, 2024
Programming
0
68
Slide DevCoach
DevCoach 145 : Front-End | Bikin Web Component Lebih Gampang Pakai Lit
shabilla
April 08, 2024
Tweet
Share
More Decks by shabilla
See All by shabilla
Slide DevCoach #151
shabillarestu
0
48
Slide DevCoach
shabillarestu
0
47
Slide DevCoach
shabillarestu
0
27
Slide DevCoach
shabillarestu
0
19
Slide DevCoach
shabillarestu
0
27
Slide DevCoach
shabillarestu
0
26
Slide DevCoach
shabillarestu
0
16
Slide DevCoach
shabillarestu
0
27
Slide DevCoach
shabillarestu
0
23
Other Decks in Programming
See All in Programming
KessokuでDIでもgoroutineを活用する / Go Connect #6
mazrean
0
130
testingを眺める
matumoto
1
130
モバイルアプリからWebへの横展開を加速した話_Claude_Code_実践術.pdf
kazuyasakamoto
0
290
OSS開発者という働き方
andpad
5
1.6k
tool ディレクティブを導入してみた感想
sgash708
1
160
Google I/O recap web編 大分Web祭り2025
kponda
0
2.9k
MCPでVibe Working。そして、結局はContext Eng(略)/ Working with Vibe on MCP And Context Eng
rkaga
4
480
Namespace and Its Future
tagomoris
6
680
複雑なドメインに挑む.pdf
yukisakai1225
4
880
時間軸から考えるTerraformを使う理由と留意点
fufuhu
8
2.8k
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
970
Kiroの仕様駆動開発から見えてきたAIコーディングとの正しい付き合い方
clshinji
1
180
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
224
9.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
910
Writing Fast Ruby
sferik
628
62k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
How GitHub (no longer) Works
holman
315
140k
Documentation Writing (for coders)
carmenintech
73
5k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Thoughts on Productivity
jonyablonski
69
4.8k
The Cost Of JavaScript in 2023
addyosmani
53
8.9k
Transcript
Position Bikin Web Component Lebih Gampang Pakai Lit Front-End Web
Nur Rizki Adi Curriculum Developer
Learning Objectives Front-End Web • Ada apa dengan Lit •
Lit vs. Native Web Component • Apa itu reactive property • Gaya baru terapkan style dan event • Cara pasang Lit di Proyek
Masih ingat dengan Web Components?
Sport Club Finder App
<search-bar> <club-list> <footer-app> <app-bar>
Framework yang Mengadopsi Component Architecture Front-End Web
• Simple. Building on top of the Web Components standards.
• Fast. Updates are fast. • Lightweight. Weighing in at around 5 KB (minified and compressed). Front-End Web Why should I choose Lit? - lit.dev Lit, Web Component Library
Tiga Teknologi Web Component • Custom Element • Shadow DOM
• HTML Template Front-End Web
Fitur Lainnya dari Lit • Menggunakan class LitElement • Memanfaatkan
JavaScript tagged template literal • Reactive properties • Scoped for styles • Didukung baik dengan TypeScript Front-End Web
Membutuhkan Module Bundler Webpack Vite Parcel Browserify
Cara Bikin Element dengan Lit Front-End Web Defining a component
- MDN
Styling for Lit Component Styles - lit.dev
Event Listener looks like familiar in JS framework… Styles -
lit.dev
Reactive Property Change Everything
Mekanisme Sederhana Perubahan Nilai Reactive Property
Mekanisme Sederhana Perubahan Nilai Reactive Property
Mekanisme Sederhana Perubahan Nilai Reactive Property
Mekanisme Sederhana Perubahan Nilai Reactive Property Reactive update cycle -
lit.dev
Let’s get dirty our hands
Full Support Lit dengan TypeScript Front-End Web
Thank You nurrizkiadip Nur Rizki Adi Prasetyo @NAdiPrasetyo
[email protected]
Nur
Rizki Adi Prasetyo Nur Rizki Adi Prasetyo Front-End Web
Feedback! Hadiah: • 2 Token Langganan Academy (30 Hari) *untuk
pengisi feedback terpilih! dicoding.id/devcoachfeedback
Front-end Web