any pressing questions about web components that you’d like to see answered?
23 replies
@zachleat How do you wrangle web components? Do I need a specific lasso for that?
@knowler a Ted lasso I think
@zachleat I still don’t get what they *are* and a year from now I’ll regret not trying to learn sooner.
@maxfenton you should catch this talk when it comes out!!
@zachleat I want to see reactive properties. I've been thinking of trying this with proxies or preact signals.
@clarkgunn yes!! 🏆
- How can they be used to create a more accessible web?
- What are the most common mistakes made when building web components?
- What performance costs do they come with and how do you weigh those pros and cons?@castastrophe excellent, thank you!! 🙌🏻
@zachleat Do you know where you might be giving this presentation?
@castastrophe A few upcoming places! https://www.zachleat.com/web/speaking/
@zachleat Would you say WebC components *are* web components? How would you describe the relationship between WebC (and @enhance_dev) and web components?
@tbroyer @enhance_dev I don’t want to go too far into tooling around web components in this talk but it’s probably most accurate to say that WebC (and others!) use conventions for server side rendering set forth by web components standards. Some overlap with how I think of SCSS -> CSS
@zachleat (I am a huge WC booster) I already have framework X. Why would I add WC to my stack when X also does that, and my design system is in X?
@zachleat this is probably too broad of a question, granted. But "use the platform, first" tends to get zero traction. What are the compelling reasons for WC at large software orgs?
@zachleat what (if any) difference might there be between "leaf" components (UI atoms, etc.) and "branch" components (more app-specific stuff, layouts, etc.)?
What are some ways we can think about and communicate the value of "split" components (aka templates live only in SSG/SSR world, then extra client-side behavior gets sprinkled on top)?
@zachleat HTML imports please? 🥺
Or like declarative shadow-dom without the shadow-dom? 🙃
I just want web components without the need for JS.... Maybe the real question to be asking is more plugins for tools to use WebC, alas I can't yet have the joy of working with eleventy on every project 🥲
@zachleat what is the abstraction that web components are trying to solve? Is it to organize markup, behavior and styles for developers? If so, what benefits does it offer over a UI framework like SolidJS? Lastly, what is its overhead and how does it scale compared to something like SolidJS?