The Good, The Bad, and The Web Components - Zach Leatherman | JSHeroes 2023

preview_player
Показать описание
There has been no shortage of both fair and unfair criticism toward Web Components from a wide range of folks that build for the web, including but not limited to JavaScript Framework authors in supposed competition with the platform. In this talk I’ll show you how to navigate and simplify the multifaceted landscape of web components, satisfying common criticisms and showing how you can Use the Platform most effectively today.
Рекомендации по теме
Комментарии
Автор

I'm a bit miffed that, when they talk about "server-side" they specifically talk about NodeJS-exclusive solutions and static site generators instead of things that can integrate with backend frameworks (Rails, Flask, Django, etc).

CodecrafterArtemis
Автор

Great talk, a pleasure to watch, thank you!

antonio_carvalho
Автор

I am moving away from a lot of these frameworks to web components. I got sick of the constant bullshit with vue/angular/react specific crap.

sambines
Автор

this guy is hilarious, so much that i didn't learn anything i was just laughing the whole time. gonna have to watch again.

andypsolomon
Автор

What I'd really like is:

<noscript><p>Button will not work as scripting is not working.</p></noscript>
<button

The traits attribute could have multiple values space delimited. This way I don't have to junk up all my HTML with tags. Just add an attribute. Nice and simple. I know there is the `is` attribute. But it only allows for one trait and Safari says they refuse to implement it. But normally I only use one trait so, I suppose I could just polyfill it for now... But I think a lot of library creators don't use it since Safari refuses to implement it.

dovh
Автор

:host-context() selector is depreciated I believe, there is a github issue for that.

heybran_
Автор

I'm no expert, just a foggy from the 90s. How is it "server rendered"? The server doesn't layout the page, the server doesn't calculate the DOM. All the server is doing is caching and pushing data. Rendering of everything else is on the client, yes?

nathanmiddleton
Автор

Why does this guy sound so terrified and nervous? It is really distracting

dirtdart