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
Mastering lit-html directive
Search
aggre
September 18, 2018
Technology
0
450
Mastering lit-html directive
Polymer Japan Cafe #3(
https://polymer-japan.connpass.com/event/100320/
)での LT 資料です
aggre
September 18, 2018
Tweet
Share
More Decks by aggre
See All by aggre
The money for the openable and shareable era
aggre
0
500
エンジニアは会社に何を求めるか? / What does engineers wants the company?
aggre
0
140
The importance ofopen assets
aggre
0
81
Fully AMP pros and cons
aggre
0
200
Web Components のリアル/ Realistic Web Components
aggre
12
8.2k
OSS の持続的開発をトークンエコノミーで支援する / Dev Token @OSS Universe
aggre
1
390
OSS の持続的開発をトークンエコノミーで支援する / Dev Token @CryptoBowl
aggre
1
440
非中央集権ウェブ / Decentralized Web
aggre
3
600
OSS の持続的開発をトークンエコノミーで支援する / Dev Token
aggre
0
520
Other Decks in Technology
See All in Technology
Pythonで構築する全国市町村ナレッジグラフ: GraphRAGを用いた意味的地域検索への応用
negi111111
8
3.4k
CDKの魔法を少し解いてみる ― synth・build・diffで覗くIaCの裏側 ―
takahumi27
1
140
從裝潢設計圖到 Home Assistant:打造智慧家庭的實戰與踩坑筆記
kewang
0
160
[mercari GEARS 2025] Keynote
mercari
PRO
0
170
3年ぶりの re:Invent 今年の意気込みと前回の振り返り
kazzpapa3
0
200
メタプログラミングRuby問題集の活用
willnet
2
780
"おまじない"はもう卒業! デバッガで探るSpring Bootの裏側と「学び方」の学び方
takeuchi_132917
0
120
やり方は一つだけじゃない、正解だけを目指さず寄り道やその先まで自分流に楽しむ趣味プログラミングの探求 2025-11-15 YAPC::Fukuoka
sugyan
1
420
Data & AIの未来とLakeHouse
ishikawa_satoru
0
720
AIを前提に、業務を”再構築”せよ IVRyの9ヶ月にわたる挑戦と未来の働き方 (BTCONJP2025)
yueda256
1
160
自己的售票系統自己做!
eddie
0
430
[JDDStudy #10] 社内Agent勉強会の取り組み紹介
yp_genzitsu
1
130
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
A designer walks into a library…
pauljervisheath
210
24k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
The Pragmatic Product Professional
lauravandoore
36
7k
Documentation Writing (for coders)
carmenintech
76
5.1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Gamification - CAS2011
davidbonilla
81
5.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Transcript
2018.09.18 @ Polymer Japan Café LT
aggre @aggre_ @aggre FRAME00, INC. CTO
What’s lit-html
None
What’s lit-html directive
None
None
directive
part.setValue()
html`<div>${text}</div>` ?
None
None
until
until Promise
until directive
until
until
until defaultContent
until promise
directive
API directive is
html`<div>${text}</div>` render()
directive
None
Rx
Rx unsubscribe !
unsubscribe … https://github.com/aggre/ullr/blob/master/src/directive/subscribe.ts
Simple But Powerful