med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

344
active users

#WebComponents

6 posts6 participants0 posts today

I hate saying things which seem blindingly obvious, but when Famous People™ such as Theo on YouTube make these basic mistakes, I wonder. 🧐

So here you go:

`document.querySelector("# my-dumb-button").addEventListener(...)` is completely obsolete in the year 2025.

Never do that again please. You don't need to!

If you're wondering “well, what should I do instead?”, check the comments; we'll talk about what to do instead. Apparently it will BLOW YOUR MIND! 😂

Continued thread

What impressed me was the prioritizing of economic justice at the framework level. That manifests in minimal code sent to the client hosted on a Cloudflare edge worker for free; reducing costs for website owners and customers.

No $20/mo hosting lock-in scheme.

Wish #webcomponents had an SDK like this...

A great behind the scenes look at all the effort that goes into building an accessible Shopify theme by @NicMakesStuff

There's also a nice bit in there about how #WebComponents are a great fit for a one-time purchase theme that you support forever because "their extensibility is unmatched" and "they never need to be updated".

nicchan.me/blog/we-launched-ou

Five different looks for the same Shopify theme for different industries. From left to right, a bright pastel beauty store, a black and white minimalist fashion store, an elegant purple and cream jewellry store, an earthy and organic ceramics store, and a bright primary color, brutalist-inspired furniture store.
www.nicchan.meWe launched our first Shopify theme - Nic ChanThis theme is the reason why I've disappeared from the internet for the past half a year.

Today I saw someone coming up with their own #html tags. At first I thought they were #WebComponents but the naming was off:

<holiday>, <employee>, <month> and many more

Looked at it in the #accessibility tree, they're all generic elements.

What really amazes me is the browser still rendering the content inside and simply not giving a fuck if it's fantasy HTML 🤯

(I would be shocked if someone shows me a link to the specs for these elements in the comments 😂)

ap-components

I want to share some information about a repository we just published. ap-components is a set of Web Components for building interfaces for the ActivityPub API. I built it as I was making a sample application for handling the acct: URI scheme. I found myself making more and more components for the UI, and realised that they would probably be useful for other applications, too. The library is available on npm at @socialwebfoundation/ap-components. It currently covers some of the simplest […]

socialwebfoundation.org/2025/0

Social Web Foundation · ap-components
More from Evan Prodromou