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
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
310
Sempre teste mas debug se precisar
larissaabreu
2
250
Guia prático para criação de componentes perfeitos
larissaabreu
1
230
Custom Elements Everywhere
larissaabreu
0
290
JavaScript e o teste filosofal
larissaabreu
0
120
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
110
Componentes nativos: uma chance de mudar o futuro! - ABCDev 2018
larissaabreu
0
140
Dando poder ao seu CSS através de Custom Properties
larissaabreu
0
130
Other Decks in Programming
See All in Programming
RTSPクライアントを自作してみた話
simotin13
0
510
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
140
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
730
Agentic UI
manfredsteyer
PRO
0
110
Modding RubyKaigi for Myself
yui_knk
0
900
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
510
net-httpのHTTP/2対応について
naruse
0
450
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
260
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
4.7k
Claspは野良GASの夢をみるか
takter00
0
170
LLM Plugin for Node-REDの利用方法と開発について
404background
0
160
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
200
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
600
Art, The Web, and Tiny UX
lynnandtonic
304
22k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
190
Automating Front-end Workflow
addyosmani
1370
210k
Balancing Empowerment & Direction
lara
6
1.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
480
エンジニアに許された特別な時間の終わり
watany
107
250k
Google's AI Overviews - The New Search
badams
0
1k
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