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
A magia dos componentes nativos
Search
Larissa Abreu
January 31, 2018
Programming
400
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
A magia dos componentes nativos
Larissa Abreu
January 31, 2018
More Decks by Larissa Abreu
See All by Larissa Abreu
Defesa contra as artes das trevas - Github (2020)
larissaabreu
0
330
Sempre teste mas debug se precisar
larissaabreu
2
260
Guia prático para criação de componentes perfeitos
larissaabreu
1
240
Custom Elements Everywhere
larissaabreu
0
290
JavaScript e o teste filosofal
larissaabreu
0
130
Web Components: fazendo do futuro uma realidade através do JS - Brasília
larissaabreu
0
160
Web Components: fazendo do futuro uma realidade através do JS
larissaabreu
0
120
Componentes nativos: uma chance de mudar o futuro! - ABCDev 2018
larissaabreu
0
150
Dando poder ao seu CSS através de Custom Properties
larissaabreu
0
150
Other Decks in Programming
See All in Programming
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
190
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
1.3k
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
590
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
210
phperだってパンチカードでコーディングしたい
o0h
PRO
0
460
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
170
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
280
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.8k
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
130
Railsバージョンを4倍にした話
optim
0
750
R8 の設定見直しでアプリサイズ削減
andpad
0
230
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
140
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
1.1k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
650
Optimizing for Happiness
mojombo
378
71k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
440
Amusing Abliteration
ianozsvald
1
360
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
490
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
` E a magia dos componentes nativos
` @TheSweet_Lari Gamer, future Suicide Girl and Front-end Dev Larissa
Abreu @LarissaAbreu [complete aqui] Nem eu!
Antes
Antes Hoje
Antes Comunidade
@valledevs
Components? In FrontEnd
Web Components?
index.html <!doctype html> <html> <head> </head> <body> </body> </html> <link
rel="import" href=“harry-potter.html”> <harry-potter></harry-potter> Native!
How? W3C specifications
<link rel="import" href=“harry-potter.html”> <harry-potter></harry-potter> Custom Elements Shadow DOM Imports Template
None
What is Polymer? By Polyme Team
None
???????
2013
youtube.com/watch?v=7Q0-E_rZ_Cc&t
December 2013 Web Components Hype ? ? ? ?
After? Why didn't I know?
2014
November 2014 Polymer 0.5 Experiments ? ? ? ?
caniuse.com/#feat=template
2015
May 2015 Polymer 1.0 Ready to production ?
Shadow DOM v0 Custom Elements v0 The Problems
youtube.com/watch?v=7Q0-E_rZ_Cc&t
youtube.com/watch?v=7Q0-E_rZ_Cc&t
How to solve? Improving the platform
Shadow DOM v1 Custom Elements v1
youtube.com/watch?v=7Q0-E_rZ_Cc&t
youtube.com/watch?v=7Q0-E_rZ_Cc&t
2017
May 2017 Polymer 2.0 Do less magic ? ES6 Class
Hybrid Mode
youtube.com/watch?v=7Q0-E_rZ_Cc&t
How to solve? Look at the platform
ES Modules import myComponent from ‘./my-component.js' jakearchibald.com/2017/es-modules-in-browsers
ES youtube.com/watch?v=7Q0-E_rZ_Cc&t
Last problem! Management dependencies
Back to 2013 VS Management dependencies Solve version conflicts Flat
dependencies tree Active Community Management dependencies Solve version conflicts Flat dependencies tree Active Community
github.com/bower/bower/issues/2298
Today VS Management dependencies Solve version conflicts Flat dependencies tree
Active Community Management dependencies Solve version conflicts Flat dependencies tree Active Community
Today
Polymer 3.0 Preview ES
Final support? https://www.webcomponents.org/
None
Why Polymer?
Cross Stack?
None
Custom Elements Everywhere custom-elements-everywhere.com/
DEMO
Who?
+6000 Components
youtube.com/new
twitter.com/AJStacy06/status/857628546507968512
Community
None
#UseThePlatform
Thanks! #UseThePlatform