Design at scale with Web Components (and ducks)

  Рет қаралды 20,655

Chrome for Developers

Chrome for Developers

Күн бұрын

You have a beautiful design system that delivers consistent, on-brand user experiences! Now, how do your designers and engineers provide your design to teams using any framework from React, to Vue, to Angular, and more?
The Material Design team shares how Web Components are a great choice to empower design systems at Google scale.
Design once. Build once. Use everywhere.
Resources:
Lion Web Components → goo.gle/363MUey
Prefers-color-scheme → goo.gle/2UXBp1F
Spectrum Web Components → goo.gle/3pZXomU
Quack→ goo.gle/quack
Github material-components-web-components → goo.gle/mwc
Speakers: Liz Mitchell, Rody Davis
Watch all Chrome Developer Summit sessions here → goo.gle/cds20-sessions
Subscribe to Google Chrome Developers here → goo.gle/ChromeDevs
#chromedevsummit #chrome #webdesign
event: Chrome Dev Summit 2020; re_ty: Publish; product: Chrome - General; fullname: Rody Davis;

Пікірлер: 34
@maxjf1
@maxjf1 3 жыл бұрын
There is still a problem: its too verbose. Ignoring the component file size, it still has 16 methods, for a single and simple component. In large scale this will generate a giant bundle and be Hard to maintain. An Framework /lib May reduce this using HOC, decorators etc (like React did) but still
@manueldiera6781
@manueldiera6781 3 жыл бұрын
Those are very valid points. I'm currently working with Stencil and will be trying the HOC pattern to avoid so much duplication. Would like your opinion on that if you get a chance to check it out.
@maxjf1
@maxjf1 3 жыл бұрын
@@manueldiera6781 cool. Share with us any News 😊
@manueldiera6781
@manueldiera6781 3 жыл бұрын
@@user-if1de8pt2j nice! I'll research this, see how they did it/what patterns I can learn from there.
@YinonOved
@YinonOved 3 жыл бұрын
25:31 u state that the palette shade token doesn't need 'inherit' enabled. didn't quite get that. mind elaborating on that please?
@blittr
@blittr 3 жыл бұрын
Thanks for these tips, they will help me in the web-component based design system I'm working on.
@paulhmason
@paulhmason 3 жыл бұрын
Any chance of more LitElement and Web Component videos like this? I really miss the Polycasts videos.
@user-gq1jv7lu6d
@user-gq1jv7lu6d 3 жыл бұрын
I am confused.. Google has Material Components, but then you say we can use Lion Components and Adbobe Components?
@shashankaryaofficial
@shashankaryaofficial 3 жыл бұрын
lol
@tedfitzpatrickyt
@tedfitzpatrickyt 3 жыл бұрын
web components sound awesome, isolate css will be amazing. hopefully we can choose which parent css rules to pass through / whitelist
@herrbasan
@herrbasan 3 жыл бұрын
There is that sesame street tone again. I wonder, do people with an interested in web-tech exsists to whom this style is helpful and welcome ?
@waso
@waso 3 жыл бұрын
Me
@alarissaabreu
@alarissaabreu 3 жыл бұрын
I love create Web Components! Actually I work with a design system based on Web Components and ReactJS and it's amazing 🥰
@user-dg6zz8oz3v
@user-dg6zz8oz3v 3 жыл бұрын
B
@TheRiteHand
@TheRiteHand 3 жыл бұрын
3:37 I’m so ready Liz [HELP]
@John223
@John223 2 жыл бұрын
Yet again, no mention of SEO or at least a hint
@johngill5175
@johngill5175 3 жыл бұрын
This is an awesome video, thanks for making it!!! I will add, seeing demos, not in Prettier is maybe the most nails on chalkboard thing I see nowadays. I also still feel like this is pre the removal of the boilerplate. There's so much extra in the files. Thanks for making, still hard to see a need to rewrite or relearn yet, if we were greenfield this might be a great choice for us!
@augmentos
@augmentos 3 жыл бұрын
Great but too much of these Chrome videos are using props and framework processes examples. The frameworks have their own training, wish Chrome would stick to browser and vanilla.
@PatentLobster
@PatentLobster 3 жыл бұрын
duck-duck go
@hcsftw
@hcsftw 3 жыл бұрын
There are so many problems with Web Components, I really do not understand why Google is pushing them
@akauppi2
@akauppi2 3 жыл бұрын
Would like to see a video about those problems. Really. Know Svelte.
@herrbasan
@herrbasan 3 жыл бұрын
Overall they see how much damage UI frameworks have done to the web. Just from an environmental argument we could save an insane amount of energy if there was a sleeker way of doing UI on the web. Personally, i don't see the need at all. HTML/JS/CSS is very powerful, the logic needed for most components is tiny, the markup for the UI is natively supported and depedency free, so for me neither web components nor frameworks make any sense. But from googles perspective, they have to offer something going agains this mess that is javascript UI frameworks. Unfortunately, WC is still a bit messy aswell. But i'm open to it.
@hcsftw
@hcsftw 3 жыл бұрын
@@herrbasan I do not understand why you consider frameworks a mess. I and a lot of other people would disagree. If you do not need it, that fine, but there are enough reasons to use one - not only for their Component system.
@yongkiamirson2376
@yongkiamirson2376 2 жыл бұрын
Friends God Bless Ysa Medan
@jadeleonard1620
@jadeleonard1620 3 жыл бұрын
Teach us Liz! This is the way! 🐤🐥🦆
@dustinpoissant
@dustinpoissant 3 жыл бұрын
You cant name an argument "new" thats a reserved keyword....
@mouradaouinat8721
@mouradaouinat8721 3 жыл бұрын
and the class reserved keywords?
@DenisTRUFFAUT
@DenisTRUFFAUT 3 жыл бұрын
I appreciate the effort, but let's face it. Shadow DOM is overcomplicated. It was sold by Polymer as being faster, but in the end it was 20% slower. It was sold as CSS containment, but now we have CSS properties for layout containment, and they are faster. It was sold as style containment, but it was so hard to style globally that Chrome Team invented a function to style it globally, breaking the initial paradigm. TLDR ; In general just use custom HTML element names and Javascript modules FTW. Use Custom Elements whenever needed, and never use Shadow DOM unless you want to finish bald.
@antoineweb1
@antoineweb1 3 жыл бұрын
amen
@DenisTRUFFAUT
@DenisTRUFFAUT 3 жыл бұрын
@@alukart123 Yes. Also, Shadow DOM creates a barrier for competitors (web crawlers, browsers) since they are unable to see the shadowed content. Good for Google, but not good for the web. Just like AMP.
@SaladoElFede
@SaladoElFede 3 жыл бұрын
Amen x2
@ChrisSmith-no7dk
@ChrisSmith-no7dk 3 жыл бұрын
The whole duck theme is quite fun but Quackette is going too far and treating viewers like children. Also, bread is bad for ducks.
@creatorsremose
@creatorsremose 3 жыл бұрын
The cringe is strong with this one.
Upgrading DevTools' architecture to the modern web
31:18
Chrome for Developers
Рет қаралды 15 М.
Smart Sigma Kid #funny #sigma #comedy
00:26
CRAZY GREAPA
Рет қаралды 21 МЛН
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 7 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 9 МЛН
Payment and address form best practices
20:16
Chrome for Developers
Рет қаралды 12 М.
Java Is Better Than Rust
42:14
ThePrimeTime
Рет қаралды 175 М.
Optimize for interactivity using Web Vitals (FID/TBT)
24:36
Chrome for Developers
Рет қаралды 19 М.
Sign-up form best practices
13:31
Chrome for Developers
Рет қаралды 30 М.
Love your cache: Optimize for the second load
28:30
Chrome for Developers
Рет қаралды 18 М.
The Story of Web Components
6:42
uidotdev
Рет қаралды 88 М.
UX Design: How To Get Started (A Full Guide)
27:35
AJ&Smart
Рет қаралды 1,6 МЛН
Superpowers for next gen web apps: Machine learning
29:19
Chrome for Developers
Рет қаралды 84 М.
Learn Web Design For Beginners - Full Course (2024)
3:07:31
Flux Academy
Рет қаралды 1,6 МЛН
low battery 🪫
0:10
dednahype
Рет қаралды 573 М.
Ноутбук за 20\40\60 тысяч рублей
42:36
Ремонтяш
Рет қаралды 379 М.
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 475 М.
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 4,3 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1 МЛН