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
Angular_Elements.pdf
Search
Mariano Alvarez
July 13, 2019
0
100
Angular_Elements.pdf
Mariano Alvarez
July 13, 2019
Tweet
Share
More Decks by Mariano Alvarez
See All by Mariano Alvarez
Vainilla Redux
mahcr
0
46
Web Workers
mahcr
0
30
PWA: Web app con super poderes
mahcr
0
58
Redux - NgRx v8
mahcr
0
76
AMP ¿Como iniciar?
mahcr
0
46
Volando_con_el_Assistant.pdf
mahcr
0
120
Intro to Angular
mahcr
2
36
Angular Elements
mahcr
0
45
The beauty of NgRx
mahcr
0
54
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Navigating Team Friction
lara
187
15k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
GraphQLとの向き合い方2022年版
quramy
49
14k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
It's Worth the Effort
3n
185
28k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
Transcript
Angular Elements Reutilización de componentes con
@malvarezcr ¿Quién soy? Web Practice Lead Co-Organizador de Angular Costa
Rica Fan de JS, TS, NG, Web Techs, Pizza, Emojis Mariano Álvarez
@malvarezcr GitHub https://github.com/mahcr/angular-elements
Conceptos
@malvarezcr ¿Qué es Angular?
@malvarezcr ¿Qué es Angular?
@malvarezcr ¿Qué son Web Components? Basado en: • Template Elements
• Shadow DOM • JS Modules • Custom Elements
@malvarezcr ¿Qué son Web Components?
@malvarezcr ¿Qué son Web Components?
@malvarezcr ¿Qué son Web Components?
None
@malvarezcr Pero, ¿Qué es Angular Elements?
None
@malvarezcr ¿Qué es Angular Elements?
@malvarezcr ¿Qué es Angular Elements?
@malvarezcr ¿Qué es Angular Elements?
@malvarezcr ¿Qué es Angular Elements?
@malvarezcr ¿Qué es Angular Elements? • Uso en otros frameworks
• Micro Front-Ends • Uso de syntaxis de Angular PROS • Server side / Content apps • Versionamiento / Deployment • Soportado por los browsers excepto por …….
@malvarezcr ¿Qué es Angular Elements? • Uso de polyfills •
Se generan 3 archivos • Tamaño del bundle CONS Ivy
@malvarezcr ¿Qué es Angular Elements? • Uso de polyfills -
Differential Loading • Se generan 3 archivos - Ngx-build-plus • Tamaño del bundle - Pendiente Soluciones Ivy
@malvarezcr ¿Qué es Angular Elements? Differential Loading
@malvarezcr ¿Qué es Angular Elements? • Uso de polyfills -
Differential Loading • Se generan 3 archivos - Ngx-build-plus • Tamaño del bundle - Pendiente Soluciones Ivy
@malvarezcr ¿Qué es Angular Elements? NGX-build-plus
@malvarezcr ¿Qué es Angular Elements? NGX-build-plus ng build --prod --single-bundle
ngx-build-plus
@malvarezcr ¿Qué es Angular Elements? • Uso de polyfills -
Differential Loading • Se generan 3 archivos - Ngx-build-plus • Tamaño del bundle - Pendiente Soluciones Ivy
Futuro
Demo
⚡Conclusión
Angular Costa Rica • Facebook, YouTube, Medium @angularcostarica • Twitter
@angularcr