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 with Polymer (extra Polymer 2.0)
Search
Dhyego Fernando
May 20, 2017
Technology
56
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Web Components with Polymer (extra Polymer 2.0)
Lightning talk presented by me at Google I/O Extended Cuiabá 2017.
Dhyego Fernando
May 20, 2017
More Decks by Dhyego Fernando
See All by Dhyego Fernando
Introduction to Angular 2
dhyegofernando
0
68
Angular JS Introduction
dhyegofernando
0
64
Modular Angular JS
dhyegofernando
0
40
Other Decks in Technology
See All in Technology
あけおめLINE 傾向とその対策
nasa9084
0
190
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
GoのInterface内部構造から学ぶ!最高パフォーマンスを出すコード設計
yappli_developers
1
220
AIによるクリエイティブ生成を行う上での試行錯誤
plaidtech
PRO
0
170
ユーザー価値を届け続けるためにウォンテッドリーが大切にしている文化
kotaminato
0
190
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
30
18k
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
720
Goodbye ShellScript, Hello File-based App
shunsock
0
570
新機種発売前に見直そう!端末移行で再ログインが要るアプリ・要らないアプリは何が違うのか 〜シームレスに再開できる設計と実装〜
zozotech
PRO
0
220
現場で役立つ技術負債の効果的な返済方法
masuda220
PRO
9
4.9k
What the customer really needed
kawaguti
PRO
3
220
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
1k
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
610
Side Projects
sachag
456
43k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
530
Navigating Weather and Climate Data
rabernat
0
520
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
280
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
How GitHub (no longer) Works
holman
316
150k
Faster Mobile Websites
deanohume
310
32k
Transcript
Web Components with Polymer @ Google I/O, Extended Cuiabá Web
Components with Polymer /dhyegofernando
Web Components with Polymer @ Google I/O, Extended Cuiabá /dhyegofernando
full stack dev @
Web Components with Polymer @ Google I/O, Extended Cuiabá
Web Components with Polymer @ Google I/O, Extended Cuiabá Agenda
✓ What is a Web Component? ✓ Benefits ✓ Where do they live? Web Components ✓ What is Polymer? ✓ Why Polymer? Polymer ✓ Polymer 2.0 ✓ App Toolbox ✓ Polymer CLI ✓ Getting Started (live code) ✓ Finals
Web Components with Polymer @ Google I/O, Extended Cuiabá What
is a Web Component?
Web Components with Polymer @ Google I/O, Extended Cuiabá Just
HTML Elements <div>Hello World</div>
Web Components with Polymer @ Google I/O, Extended Cuiabá Custom
Elements <your-own-element/>
Web Components with Polymer @ Google I/O, Extended Cuiabá HTML
Templates <template></template>
Web Components with Polymer @ Google I/O, Extended Cuiabá Shadow
DOM <slot></slot>
Web Components with Polymer @ Google I/O, Extended Cuiabá HTML
Imports <link/>
Web Components with Polymer @ Google I/O, Extended Cuiabá What
are its benefits?
Web Components with Polymer @ Google I/O, Extended Cuiabá Reusable
Web Components with Polymer @ Google I/O, Extended Cuiabá Maintainable
Web Components with Polymer @ Google I/O, Extended Cuiabá Encapsulated
&& Independent
Web Components with Polymer @ Google I/O, Extended Cuiabá Let’s
Work Together
Web Components with Polymer @ Google I/O, Extended Cuiabá What
is not so good?
Web Components with Polymer @ Google I/O, Extended Cuiabá Cross-browsers
weirdness
Web Components with Polymer @ Google I/O, Extended Cuiabá Cross-browsers
specs implementation
Web Components with Polymer @ Google I/O, Extended Cuiabá Polyfills
are slow
Web Components with Polymer @ Google I/O, Extended Cuiabá Where
do they live?
Web Components with Polymer @ Google I/O, Extended Cuiabá “There’s
an element for that” bit.ly/2rDlzJ0
Web Components with Polymer @ Google I/O, Extended Cuiabá
Web Components with Polymer @ Google I/O, Extended Cuiabá Polymer
Web Components with Polymer @ Google I/O, Extended Cuiabá 3.5+
Million Pages using Polymer
Web Components with Polymer @ Google I/O, Extended Cuiabá Who
is using Polymer? bit.ly/2rCuX04
Web Components with Polymer @ Google I/O, Extended Cuiabá Polymer
+ PWA + Google Cloud Vision API bit.ly/2qIDX66 Cheese
Web Components with Polymer @ Google I/O, Extended Cuiabá What
is Polymer?
Web Components with Polymer @ Google I/O, Extended Cuiabá What
is not Polymer?
Web Components with Polymer @ Google I/O, Extended Cuiabá Polymer
is not a framework
Web Components with Polymer @ Google I/O, Extended Cuiabá Interoperable
by default
Web Components with Polymer @ Google I/O, Extended Cuiabá +
Web Components with Polymer @ Google I/O, Extended Cuiabá +
Web Components with Polymer @ Google I/O, Extended Cuiabá +
any framework
Web Components with Polymer @ Google I/O, Extended Cuiabá Why
Polymer at all?
Web Components with Polymer @ Google I/O, Extended Cuiabá Template-based
rendering
Web Components with Polymer @ Google I/O, Extended Cuiabá State
propagation
Web Components with Polymer @ Google I/O, Extended Cuiabá Declarative
events
Web Components with Polymer @ Google I/O, Extended Cuiabá Attributes
&& Properties sync
Web Components with Polymer @ Google I/O, Extended Cuiabá Premisses
Web Components with Polymer @ Google I/O, Extended Cuiabá Speed
Web Components with Polymer @ Google I/O, Extended Cuiabá Latest
APIs
Web Components with Polymer @ Google I/O, Extended Cuiabá App
Toolbox Scaffolding Routing i18n UI Elements App Storage Offline Behavior + Patterns
Web Components with Polymer @ Google I/O, Extended Cuiabá Polymer
CLI npm install -g polymer-cli
Web Components with Polymer @ Google I/O, Extended Cuiabá polymer
init
Web Components with Polymer @ Google I/O, Extended Cuiabá polymer
serve polymer test polymer build
Web Components with Polymer @ Google I/O, Extended Cuiabá Polymer
2.0
Web Components with Polymer @ Google I/O, Extended Cuiabá Smaller,
faster, better…
Web Components with Polymer @ Google I/O, Extended Cuiabá Cross-browser
fits 9, 10, 11
Web Components with Polymer @ Google I/O, Extended Cuiabá natively
supported +1b devices
Web Components with Polymer @ Google I/O, Extended Cuiabá 1/4
the size of Polymer 1.0
Web Components with Polymer @ Google I/O, Extended Cuiabá Interoperability
Web Components with Polymer @ Google I/O, Extended Cuiabá ES6
syntax like class MyElement extends Polymer.Element { // ... }
Web Components with Polymer @ Google I/O, Extended Cuiabá Data
system improvements
Web Components with Polymer @ Google I/O, Extended Cuiabá Smooth
Migration
Web Components with Polymer @ Google I/O, Extended Cuiabá Hybrid
Elements
Web Components with Polymer @ Google I/O, Extended Cuiabá Getting
Started
Web Components with Polymer @ Google I/O, Extended Cuiabá Where
to Learn?
Web Components with Polymer @ Google I/O, Extended Cuiabá “There’s
an element for that” bit.ly/2rDlzJ0
Web Components with Polymer @ Google I/O, Extended Cuiabá Polycasts
bit.ly/2q3I4Xf
Web Components with Polymer @ Google I/O, Extended Cuiabá Let’s
discuss ?
Web Components with Polymer @ Google I/O, Extended Cuiabá Thank
you — /dhyegofernando bit.ly/devmt-slack