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

  Рет қаралды 9,161

JSHeroes

JSHeroes

Күн бұрын

Пікірлер: 21
@sambines3463
@sambines3463 Жыл бұрын
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.
@patricknelson
@patricknelson 8 ай бұрын
Web components, while not quite as elegant in some ways as modern frameworks, they have one *huge* thing going for them: They’re a standard. That means that they’re here to stay. They work great to sorta bridge the gap as well, in many different ways, including between heterogeneous back-ends (like Ruby, PHP, Python, etc) and even between JS frameworks which support rendering custom elements.
@CodecrafterArtemis
@CodecrafterArtemis Жыл бұрын
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).
@patricknelson
@patricknelson 8 ай бұрын
With you on this. I run mostly PHP on the server side, but implement web components + Svelte on the client side. What’s more is that there are other JS runtimes and environment types (e.g. Cloudflare workers or WinterJS/WinterCG). Interestingly, runtimes _like_ those which are WinterCG compatible offer opportunities for SSR of JS-bound things (like web components) without necessarily having to have JS as your “back-end”. In this case, there are 3 total layers now (a traditional back-end, traditional front-end and a middleware layer of some sort to perform component SSR). It’s something I’m working on myself in my free time (sorta rare, but still an ongoing thing). 😅
@antonio_carvalho
@antonio_carvalho 8 ай бұрын
Great talk, a pleasure to watch, thank you!
@andypsolomon
@andypsolomon 11 ай бұрын
this guy is hilarious, so much that i didn't learn anything i was just laughing the whole time. gonna have to watch again.
@pookiepats
@pookiepats Ай бұрын
i find the endless sarcasm so annoying, different strokes. 😊
@dovh49
@dovh49 2 ай бұрын
What I'd really like is: Button will not work as scripting is not working. 1 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.
@heybran_
@heybran_ Жыл бұрын
:host-context() selector is depreciated I believe, there is a github issue for that.
@ZachLeatherman
@ZachLeatherman Жыл бұрын
Do you have a link?
@nathanmiddleton1478
@nathanmiddleton1478 Жыл бұрын
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?
@benighted2
@benighted2 Жыл бұрын
The term/phrase has come to mean declaring/generating markup dynamically on the web server vs the client.
@hellerbarde
@hellerbarde Жыл бұрын
You can think of it like "rendering" a template. You're right that none of the layouting-related decisions are done on the server's side.
@patricknelson
@patricknelson 8 ай бұрын
To add to that: With the “server rendered” declarative shadow DOM, the component will take on the appearance defined in that HTML/CSS even if JavaScript isn’t even enabled. This is in contrast with the traditionally “client rendered” version where JS would still be required to execute and set the contents of the shadow DOM.
@antonio_carvalho
@antonio_carvalho 8 ай бұрын
It's rendering the *html code* in the server, instead of using javascript locally. It's not about the visual rendering that the browser does.
@thearturotoledo
@thearturotoledo 2 ай бұрын
I agree. Kids use wrong terminology to describe things. It's like software development wokeness.
@emberchord
@emberchord 10 ай бұрын
common yellow tint
@dirtdart81
@dirtdart81 2 ай бұрын
Why does this guy sound so terrified and nervous? It is really distracting
@KalibMartin-f5m
@KalibMartin-f5m 2 ай бұрын
I was thinking the same thing. Lol 😂😂
@pookiepats
@pookiepats Ай бұрын
get to the point holy hell
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
The Controls DONT WORK!! Airbus Computer Nightmare
43:41
Mentour Pilot
Рет қаралды 2 МЛН
Web Components An Introduction to the Future - Tobias Ljungstrom
43:51
Building a Design System Using Standard Web Components
29:36
Learn Lit and Web Components with Elliott Marquez
1:26:04
Kelvin Omereshone
Рет қаралды 4,3 М.
Custom Events Dispatched from Web Components
20:32
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 2,5 М.
Declarative Reactive Web Components with Justin Fagnani
49:59
Lightning Web Components Best Practices | TrailblazerDX 2023
28:37
Salesforce Developers
Рет қаралды 13 М.
Web Component Styling & Theming - Web Components SF Sept 2019
30:07
Web Components SF
Рет қаралды 2,5 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН