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
今日から始めるWeb Components
Search
Hayashi Takao
April 25, 2020
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
今日から始めるWeb Components
WebComponentsの概要に触れました。
Hayashi Takao
April 25, 2020
More Decks by Hayashi Takao
See All by Hayashi Takao
React 19×Rustツール 進化の「ズレ」を設計で埋める
remrem0090
1
150
Reactで始めるsencer入門
remrem0090
0
79
今日から始めるgithub actions
remrem0090
0
65
Reactでのマルチストア運用を考察する
remrem0090
0
250
effectorを使い倒してReduxのかわりになるか検証する
remrem0090
1
840
React code Splitting
remrem0090
1
590
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
660
Building Adaptive Systems
keathley
44
3.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
650
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Optimising Largest Contentful Paint
csswizardry
37
4k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Skip the Path - Find Your Career Trail
mkilby
1
270
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
290
Ethics towards AI in product and experience design
skipperchong
2
450
Transcript
今日から始める Web components
アジェンダ - 自己紹介 - Web Componentsとは - Web Componentsの仕様 -
Web Componentsのつかいどころ - Web Componentsとライブラリ - 実際の書き方
自己紹介 林 恭央 / Hayashi Takao @www_REM_zzz takao-h Software Engineer
/ Scala, Java, TypeScript
Web Componentsとは? Web Componentsはwebページやwebアプリの中でカスタムUIの制御の使いまわしを 可能にする一連のテクノロジーです。 カプセル化された機能をつかってカスタムUIの再利用を実現します。
Web Componentsの仕様 Custom Element : 新しいタイプのDOM要素の設計と利用の基盤 Shadow DOM : カプセル化したスタイルとマークアップの利用法の定義をする
HTML import : HTMLと他のHTMLの取り込みを可能にする HTML Template : マークアップのフラグメントを宣言する
Custom Element
Custom Element
HTML import
HTML Template
Web Componentsとライブラリ 各種フロントエンドのライブラリとの共存が一応できる。 特にVue.jsでは相性がいい。 だが問題もある。 Reactにおいては関数を渡すときに宣言的に書くことができない。
まとめ - Web Componentsはカプセル化を含む一連の技術を使ってカスタムUIの使いまわ しを可能にしてれる。 - グローバルなUIの表示に向いている。 - Web Componentsは未来のフロントエンドの実装を表現してくれる。