sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

572
active users

#webcomponent

0 posts0 participants0 posts today
Inautilo<p><a href="https://mastodon.social/tags/Development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Development</span></a> <a href="https://mastodon.social/tags/Launches" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Launches</span></a><br>Grid-aware status bar · A web component for energy-smart websites <a href="https://ilo.im/166dmv" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ilo.im/166dmv</span><span class="invisible"></span></a></p><p>_____<br><a href="https://mastodon.social/tags/Electricity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Electricity</span></a> <a href="https://mastodon.social/tags/Sustainability" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Sustainability</span></a> <a href="https://mastodon.social/tags/Website" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Website</span></a> <a href="https://mastodon.social/tags/Design" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Design</span></a> <a href="https://mastodon.social/tags/WebDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDesign</span></a> <a href="https://mastodon.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> <a href="https://mastodon.social/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Frontend</span></a></p>
Stephan H. Wissel<p>Why do all <a href="https://chaos.social/tags/webcomponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponent</span></a> examples use innerHtml = when innerHtml is inherently insecure?</p>
Inautilo<p><a href="https://mastodon.social/tags/Development" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Development</span></a> <a href="https://mastodon.social/tags/Launches" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Launches</span></a><br>Split Flap · A fun text animation web component for your site <a href="https://ilo.im/165pb9" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ilo.im/165pb9</span><span class="invisible"></span></a></p><p>_____<br><a href="https://mastodon.social/tags/Text" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Text</span></a> <a href="https://mastodon.social/tags/Display" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Display</span></a> <a href="https://mastodon.social/tags/Animation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Animation</span></a> <a href="https://mastodon.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> <a href="https://mastodon.social/tags/Design" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Design</span></a> <a href="https://mastodon.social/tags/WebDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDesign</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Frontend</span></a> <a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a></p>
Dave 🧱 :cursor_pointer:<p>Wanted to try out this &lt;syntax-highlight&gt; <a href="https://mastodon.design/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> for myself <a href="https://andreruffert.github.io/syntax-highlight-element/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">andreruffert.github.io/syntax-</span><span class="invisible">highlight-element/</span></a></p><p>The result is super clean and a fair chunk smaller than what's typically used. Even works with contenteditable!<br><a href="https://codepen.io/daviddarnes/pen/bNVVVxQ?editors=1000" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codepen.io/daviddarnes/pen/bNV</span><span class="invisible">VVxQ?editors=1000</span></a></p>
xoron :verified:<p>Are Web Components &amp; Cybersecurity A Better Combo?</p><p>I'm not trying to dunk on popular <a href="https://infosec.exchange/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a> <a href="https://infosec.exchange/tags/frameworks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frameworks</span></a> – I'm sure they're totally fine for <a href="https://infosec.exchange/tags/cybersecurity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cybersecurity</span></a> stuff, probably get loads of reviews and <a href="https://infosec.exchange/tags/audits" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>audits</span></a>.</p><p>But from my angle: Web Components are *native* to the <a href="https://infosec.exchange/tags/browser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>browser</span></a>. Doesn't that just inherently reduce the risk of **<a href="https://infosec.exchange/tags/SupplyChainAttacks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SupplyChainAttacks</span></a>** (you know, like a rogue `npm install` on a bad network) for your <a href="https://infosec.exchange/tags/AppSecurity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppSecurity</span></a>?</p><p>Or am I overthinking it, and the <a href="https://infosec.exchange/tags/framework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>framework</span></a> choice is less important than the <a href="https://infosec.exchange/tags/browser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>browser</span></a>, <a href="https://infosec.exchange/tags/OS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OS</span></a>, or <a href="https://infosec.exchange/tags/device" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>device</span></a> running it? What are your thoughts, <a href="https://infosec.exchange/tags/DevCommunity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevCommunity</span></a>?</p><p>---</p><p>Quick context: I've got a <a href="https://infosec.exchange/tags/ReactJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ReactJS</span></a> <a href="https://infosec.exchange/tags/messagingApp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>messagingApp</span></a> (repo here: <a href="https://github.com/positive-intentions/chat" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/positive-intentions</span><span class="invisible">/chat</span></a>) and a separate <a href="https://infosec.exchange/tags/UIFramework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UIFramework</span></a> (repo here: <a href="https://github.com/positive-intentions/dim" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/positive-intentions</span><span class="invisible">/dim</span></a>) built with <a href="https://infosec.exchange/tags/Lit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Lit</span></a> (which uses Web Components). I'm genuinely wondering if there's a compelling <a href="https://infosec.exchange/tags/cybersecurity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cybersecurity</span></a> reason to refactor the chat app to use my <a href="https://infosec.exchange/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> UI framework. Might be a whole new level of <a href="https://infosec.exchange/tags/SecurityByDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SecurityByDesign</span></a> for <a href="https://infosec.exchange/tags/FrontEndDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FrontEndDev</span></a>.</p><p>FYI, same question's on Reddit here: <a href="https://www.reddit.com/r/ExperiencedDevs/comments/1lmk1rg/are_web_components_better_for_cybersecurity/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">reddit.com/r/ExperiencedDevs/c</span><span class="invisible">omments/1lmk1rg/are_web_components_better_for_cybersecurity/</span></a>, got some good <a href="https://infosec.exchange/tags/insights" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>insights</span></a>, but want to make sure nothing's getting overlooked! Let's discuss <a href="https://infosec.exchange/tags/InfoSec" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>InfoSec</span></a> <a href="https://infosec.exchange/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://infosec.exchange/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://infosec.exchange/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> <a href="https://infosec.exchange/tags/TechQuestion" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TechQuestion</span></a>.</p>
Wolfram wants peace<p>thanks to a discussion on reddit [1] and some links [2] I came across a different view on <a href="https://mastodontech.de/tags/webcomponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponents</span></a>. <br>In short, just wrap content in a <a href="https://mastodontech.de/tags/webcomponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponent</span></a> instead of trying to "upgrade" it. Like so:</p><p>&lt;user-avatar&gt;<br> &lt;img src&gt;<br>&lt;/user-avatar&gt;</p><p>I always thought until now that it should rather be <br> <br> &lt;img src is=user-avatar&gt;</p><p>but `is` is not widely usable.<br>I still need to digest it. I see the use cases, but somehow feels still strange</p><p>[1] <a href="https://www.reddit.com/r/HTML/comments/1ldt5s4/spaish_upgrading_the_details_element/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">reddit.com/r/HTML/comments/1ld</span><span class="invisible">t5s4/spaish_upgrading_the_details_element/</span></a><br>[2] <a href="https://adactio.com/journal/20618" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">adactio.com/journal/20618</span><span class="invisible"></span></a></p>
westbrook<p><span class="h-card" translate="no"><a href="https://front-end.social/@webkit" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>webkit</span></a></span> Also, while I'm here, <a href="https://mastodon.social/tags/firefox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>firefox</span></a> <a href="https://mastodon.social/tags/mozilla" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mozilla</span></a> <span class="h-card" translate="no"><a href="https://mastodon.social/@FirefoxDevTools" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>FirefoxDevTools</span></a></span> where's my support for `:host:has(...)` at!?!</p><p><a href="https://mastodon.social/tags/testTheWebForward" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testTheWebForward</span></a> <a href="https://mastodon.social/tags/webComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webComponent</span></a></p>
Tane Piper ⁂<p>The other day I mentioned I might have accidentally written a web component framework powered by <span class="h-card" translate="no"><a href="https://m.webtoo.ls/@vite" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>vite</span></a></span> Here I've written about said framework - <a href="https://mastodon.gamedev.place/@teskooano/114432752411496927" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.gamedev.place/@teskoo</span><span class="invisible">ano/114432752411496927</span></a></p><p> <a href="https://tane.codes/tags/webComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webComponent</span></a> <a href="https://tane.codes/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://tane.codes/tags/framework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>framework</span></a> <a href="https://tane.codes/tags/webComponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webComponents</span></a> <a href="https://tane.codes/tags/vite" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>vite</span></a></p>
🔭 Teskooano<p>Version 0.2.0 of <a href="https://mastodon.gamedev.place/tags/teskooano" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>teskooano</span></a> is out!</p><p>Read about the release and the new <a href="https://mastodon.gamedev.place/tags/webComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webComponent</span></a> <a href="https://mastodon.gamedev.place/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.gamedev.place/tags/framework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>framework</span></a> I've written - now live on the site!</p><p>Also see the roadmap for upcoming plans</p><p><a href="https://teskooano.space/plan/00002/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">teskooano.space/plan/00002/</span><span class="invisible"></span></a></p><p><a href="https://mastodon.gamedev.place/tags/gamedev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gamedev</span></a> <a href="https://mastodon.gamedev.place/tags/webDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webDev</span></a> <a href="https://mastodon.gamedev.place/tags/indieDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>indieDev</span></a> <a href="https://mastodon.gamedev.place/tags/ui" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ui</span></a> <a href="https://mastodon.gamedev.place/tags/typescript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>typescript</span></a></p>
Tane Piper ⁂<p>I think I've accidentally built quite a cool '<a href="https://tane.codes/tags/webComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webComponent</span></a>-as-a-plugin' system for the <span class="h-card" translate="no"><a href="https://mastodon.gamedev.place/@teskooano" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>teskooano</span></a></span> UI - essentially two functions - one to register base components, and one to register full plugins, that are made up of one or more web components, functions and a controller. These components can self-register things like buttons in certain toolbars, or you can just add them as functions (like opening a new external URL). I'll post a bit more on it later</p>
🔭 Teskooano<p>Just released: <a href="https://mastodon.gamedev.place/tags/teskooano" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>teskooano</span></a> new <a href="https://mastodon.gamedev.place/tags/webComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webComponent</span></a> based engine toolbar - a plugin toolbar that allows panels to register themselves with a button - so it;s much easier to add new features.</p><p><a href="https://teskooano.space" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">teskooano.space</span><span class="invisible"></span></a></p><p><a href="https://mastodon.gamedev.place/tags/gameDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gameDev</span></a> <a href="https://mastodon.gamedev.place/tags/indieDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>indieDev</span></a> <a href="https://mastodon.gamedev.place/tags/threeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>threeJS</span></a></p>
Noah Liebman<p>If you have a <a href="https://mastodon.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> with</p><p>```js<br>constructor() {<br> this.mq = matchMedia(…)<br>}<br>```</p><p>do you need to clean up any change listeners in `disconnectedCallback()`?</p><p>This was not intuitive to me, and I could imagine it going both ways.</p><p>1/2 (answer in next post)</p>
keithamus<p><a href="https://github.com/w3c/csswg-drafts/issues/10013#issuecomment-2627222385" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/w3c/csswg-drafts/is</span><span class="invisible">sues/10013#issuecomment-2627222385</span></a></p><p>Call to action for <a href="https://indieweb.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> / <a href="https://indieweb.social/tags/ShadowDOM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ShadowDOM</span></a> fans: I've added an experimental flag to Firefox lifting the restriction on adoptedStyleSheets, meaning shadowroots can adopt `link.sheet` or `style.sheet`.</p><p>Please try this out, and let me know if you encounter issues!</p>
Dave 🧱 :cursor_pointer:<p>Hey gang, good news, I'm back on my bullshit! By which I mean I made a new <a href="https://mastodon.design/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> that exposes page statuses from <span class="h-card" translate="no"><a href="https://mastodon.social/@zeroheight" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>zeroheight</span></a></span> on any website. Almost the perfect <a href="https://mastodon.design/tags/DesignSystems" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DesignSystems</span></a> tooling intersection if you ask me. Here's how I did it (bonus GitHub repo within):<br><a href="https://zeroheight.com/blog/api-tutorial-add-page-statuses-to-any-website/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">zeroheight.com/blog/api-tutori</span><span class="invisible">al-add-page-statuses-to-any-website/</span></a></p>
David Bisset<p>Building a QR Code <a href="https://phpc.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> Web Component via <a href="https://mstdn.social/@scottjehl" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">mstdn.social/@scottjehl</span><span class="invisible"></span></a></p><p><a href="https://scottjehl.com/posts/q-r" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">scottjehl.com/posts/q-r</span><span class="invisible"></span></a></p><p><a href="https://phpc.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> <a href="https://phpc.social/tags/QR" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>QR</span></a> <a href="https://phpc.social/tags/frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontend</span></a></p>
Inautilo<p><a href="https://mastodon.social/tags/Design" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Design</span></a> <a href="https://mastodon.social/tags/Fun" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Fun</span></a><br>EmojiStorm · Let it snow, or bring on the emoji party! <a href="https://ilo.im/161hqa" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">ilo.im/161hqa</span><span class="invisible"></span></a></p><p>_____<br><a href="https://mastodon.social/tags/SnowFlakes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SnowFlakes</span></a> <a href="https://mastodon.social/tags/Emojis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Emojis</span></a> <a href="https://mastodon.social/tags/Smileys" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Smileys</span></a> <a href="https://mastodon.social/tags/Flags" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Flags</span></a> <a href="https://mastodon.social/tags/Symbols" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Symbols</span></a> <a href="https://mastodon.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> <a href="https://mastodon.social/tags/WebDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDev</span></a> <a href="https://mastodon.social/tags/Frontend" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Frontend</span></a> <a href="https://mastodon.social/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a></p>
Simon Cox :SEO:<p><span class="h-card" translate="no"><a href="https://fediverse.zachleat.com/@zachleat" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>zachleat</span></a></span> <br>It's not snowing here and is unlikely to this December - i have turned on the snow on my site anyway!</p><p><a href="https://seocommunity.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a></p>
Kerrick Long (code)<p>TIL that the name “Component,” of web platform &amp; front-end framework fame, comes from the Gang of Four’s Composite Design Pattern, in which objects made of other objects can be interacted with as though they were a singular object of that type. That shared interface is called a Component, and is implemented by both the Composites and the Leaf nodes.</p><p><a href="https://ruby.social/tags/SoftwareEngineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SoftwareEngineering</span></a> <a href="https://ruby.social/tags/TodayILearned" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TodayILearned</span></a> <a href="https://ruby.social/tags/DesignPattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DesignPattern</span></a> <a href="https://ruby.social/tags/Component" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Component</span></a> <a href="https://ruby.social/tags/Composite" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Composite</span></a> <a href="https://ruby.social/tags/Web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Web</span></a> <a href="https://ruby.social/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://ruby.social/tags/React" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>React</span></a> <a href="https://ruby.social/tags/Vue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vue</span></a> <a href="https://ruby.social/tags/Angular" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Angular</span></a> <a href="https://ruby.social/tags/Ember" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ember</span></a> <a href="https://ruby.social/tags/Solid" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Solid</span></a> <a href="https://ruby.social/tags/Svelte" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Svelte</span></a> <a href="https://ruby.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a></p>
Noah Liebman<p>I don’t have a use case in mind, and this is probably a terrible idea, but it occurred to me that you can use a static EventTarget on a <a href="https://mastodon.social/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a> prototype to synchronize a value across all instances of that component. <a href="https://codepen.io/noleli/pen/OJKKQLy" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codepen.io/noleli/pen/OJKKQLy</span><span class="invisible"></span></a></p>
pvergain (framapiaf)<p>- <a href="https://htmx.org/essays/webcomponents-work-great/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">htmx.org/essays/webcomponents-</span><span class="invisible">work-great/</span></a></p><p>People interested in <a href="https://framapiaf.org/tags/htmx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>htmx</span></a> often ask us about component libraries. React and other JavaScript frameworks have great ecosystems of pre-built components that can be imported into your project; htmx doesn’t really have anything similar.</p><p><a href="https://framapiaf.org/tags/WebDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebDevelopment</span></a> <a href="https://framapiaf.org/tags/WebComponent" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebComponent</span></a></p>