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
Meguro.esのWeb Components(勝手に) 作ってみた #meguroes
Search
tiwu
April 04, 2019
Technology
0
200
Meguro.esの Web Components(勝手に) 作ってみた #meguroes
Meguro.esのWeb Components(勝手に) 作ってみた #meguroes
tiwu
April 04, 2019
Tweet
Share
More Decks by tiwu
See All by tiwu
Eleventy で SSG
tiwu_dev
2
680
Eleventy - 11ty
tiwu_dev
0
140
Install for PWA
tiwu_dev
0
1.3k
App Shortcuts
tiwu_dev
0
890
Web Vitals
tiwu_dev
0
71
Web Share API
tiwu_dev
0
1.4k
Badge in Background
tiwu_dev
0
71
PWAとCache API #frontkansai
tiwu_dev
5
2.1k
Web Componentsとlit-element #frontkansai
tiwu_dev
2
1.5k
Other Decks in Technology
See All in Technology
Terraformで構築する セルフサービス型データプラットフォーム / terraform-self-service-data-platform
pei0804
1
200
IoT x エッジAI - リアルタイ ムAI活用のPoCを今すぐ始め る方法 -
niizawat
0
130
機械学習を扱うプラットフォーム開発と運用事例
lycorptech_jp
PRO
0
670
slog.Handlerのよくある実装ミス
sakiengineer
4
480
新規プロダクトでプロトタイプから正式リリースまでNext.jsで開発したリアル
kawanoriku0
1
220
Snowflake Intelligence × Document AIで“使いにくいデータ”を“使えるデータ”に
kevinrobot34
1
120
測りにくい成果を測る — BtoB SaaSにおける効果検証への挑戦 / Shirokane Kougyou vol 20
sansan_randd
1
110
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
20250913_JAWS_sysad_kobe
takuyay0ne
2
250
Create Ruby native extension gem with Go
sue445
0
130
人工衛星のファームウェアをRustで書く理由
koba789
15
8.3k
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
460
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Faster Mobile Websites
deanohume
309
31k
The Art of Programming - Codeland 2020
erikaheidi
56
13k
Being A Developer After 40
akosma
90
590k
A better future with KSS
kneath
239
17k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.9k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Transcript
Meguro.esの Web Components(勝手に) 作ってみた Wataru Taguchi
アジェンダ • 自己紹介 • 作ったぞい • まとめ
自己紹介 # Wataru Taguchi - GameWith Front End Engineer -
PWAとかパフォーマンスチューニングが好き - @tiwu_official - FF14, Beer, Kyoto Animation
みなさん!
Meguro.esが好きですか!
Meguro.esのロゴを 自分のサイトに 表示させたいですよね!
Meguro.esのイベント情報 を自分のサイトに 表示させたいですよね!
それWeb Components でできるよ
<meguro-es-logo> <meguro-es-connpass-list>
https://informal-meguro-es-we b-components.netlify.com/
使い方
<script type="module" src="./src/js/meguroEsConnpassList.js"> </script>
<meguro-es-connpass-list> </meguro-es-connpass-list>
かんたん!!!!
https://github.com/tiwuofficial/i nformal-meguro-es-web-comp onents
Web Components? • カスタム要素 • Shadow DOM • HTML テンプレート
カスタム要素
Shadow DOM
• constructorとconnectedCallbackの違いに気づく のが遅かった • conpassのAPIがJSONPだった つらみ
Web Componentsは いいぞ