Chris

@lamplightdev
163 Followers
414 Following
33 Posts

Announcing Reciprocate, a Sweet Solution for Making Your HTML Web Components Reactive

Have you ever been chipping away on vanilla #WebComponents when you began to wonder “hey waitaminute…how do I make it so when I set this #JavaScript property, the equivalent #HTML attribute is updated? And if I set this attribute, the equivalent property is updated? Or when either is updated, my component will re-render?! Where are the APIs for this stuff??”

Worry no longer! 🤓 #WebDev

https://thathtml.blog/2025/09/reciprocate-reactivity-for-html-web-components/

Announcing Reciprocate, a Sweet Solution for Making Your HTML Web Components Reactive

A new helper utility for adding signal-based reactivity and attribute/property reflection to any vanilla custom element class.

That HTML Blog

Interested in being able to style Shadow DOMs from the main page?

Working with @mia, we added new modes to shadow-boxing.js library which are all about that. These new modes let authors select which specific elements get stylesheets from the outer page moved into their Shadow DOMs.

I've also written brief/linkable examples of usages of the various 'modes'.

https://github.com/bkardell/shadow-boxing/blob/main/README.md#page-push-select-

If you've got thoughts, I'm all ears.

shadow-boxing/README.md at main · bkardell/shadow-boxing

Small library for experimenting with different ways to tame Shadow DOM - bkardell/shadow-boxing

GitHub

Did you know you can stream HTML out of order without any JavaScript at all?

A put a little blog post together explaining how: https://lamplightdev.com/blog/2024/01/10/streaming-html-out-of-order-without-javascript/

See a demo: https://ooo.lamplightdev.workers.dev/

Supported in Chrome and Safari, and in Firefox in a month or two.

lamplightdev - Streaming HTML out of order without JavaScript

Chris Haynes - web developer consultant

What's the best way to share live node code these days? I generally use glitch, but the latest node version on there is 16, and I need 18?

We are in the midst of another Google Reader-level community disruption.

It’s a good time to reset, take stock, clean house, and own your content!

If you don’t yet have your own web site—it’s a good time to start!

1. The most crucial piece is ownership of the domain name.
2. Then add content (it can just be plain HTML!)
3. Iterate on it! Make it better, but more importantly—make it yours.