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
390
2
Share
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
220
Custom Elements Everywhere
larissaabreu
0
280
JavaScript e o teste filosofal
larissaabreu
0
110
Web Components: fazendo do futuro uma realidade através do JS - Brasília
larissaabreu
0
150
Web Components: fazendo do futuro uma realidade através do JS
larissaabreu
0
100
Componentes nativos: uma chance de mudar o futuro! - ABCDev 2018
larissaabreu
0
130
Dando poder ao seu CSS através de Custom Properties
larissaabreu
0
130
Other Decks in Programming
See All in Programming
アーキテクチャモダナイゼーションとは何か
nwiizo
14
3.1k
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
520
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
230
ファインチューニングせずメインコンペを解く方法
pokutuna
0
260
Rethinking API Platform Filters
vinceamstoutz
0
8.3k
へんな働き方
yusukebe
6
2.9k
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
220
PHPで TLSのプロトコルを実装してみる
higaki_program
0
730
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
550
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
230
Featured
See All Featured
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
500
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
190
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
160
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
340
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
210
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
120
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
240
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Why Our Code Smells
bkeepers
PRO
340
58k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
120
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