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
Slide DevCoach
Search
shabilla
April 08, 2024
Programming
95
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Slide DevCoach
DevCoach 145 : Front-End | Bikin Web Component Lebih Gampang Pakai Lit
shabilla
April 08, 2024
More Decks by shabilla
See All by shabilla
Slide DevCoach #151
shabillarestu
0
82
Slide DevCoach
shabillarestu
0
84
Slide DevCoach
shabillarestu
0
56
Slide DevCoach
shabillarestu
0
64
Slide DevCoach
shabillarestu
0
62
Slide DevCoach
shabillarestu
0
65
Slide DevCoach
shabillarestu
0
51
Slide DevCoach
shabillarestu
0
62
Slide DevCoach
shabillarestu
0
59
Other Decks in Programming
See All in Programming
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
R8 の設定見直しでアプリサイズ削減
andpad
0
220
ChromeでローカルLLM
ryu1013
0
140
すこし踏み込む CancellationToken
htkym
2
1.7k
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
Domain-Driven Transformation
hschwentner
2
2.3k
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
550
Featured
See All Featured
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
A Modern Web Designer's Workflow
chriscoyier
699
190k
KATA
mclloyd
PRO
35
16k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
A Tale of Four Properties
chriscoyier
163
24k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7k
GraphQLとの向き合い方2022年版
quramy
50
15k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
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