
web developer, consulting at https://nitter.gq/t.co/36VnvvBhMi, building at https://nitter.gq/t.co/pN0OlF5lnt, https://nitter.gq/t.co/HecWB74QY0 and https://nitter.gq/t.co/uxdiSllHgL @lamplightdev@mastodon.social
Horsham, England
Joined August 2010
- Tweets767
- Following1.5K
- Followers366
- Likes1.2K
Replying to @jackrooke
Memorably described as 'A mushroom cut in half' by, if I remember correctly, @charltonbrooker in the Guardian some years ago.
Chris Haynes retweeted
Found some old Star Wars toys in the loft. Great memories.
Classic scenes as political memes, a thread 🧵:
#StarWars 💫🪖
Replying to @trusktr
github.com/thepassle/swtl/tr… by @passle_ is neat, works by intercepting navigation events in a service worker
Replying to @tannerlinsley
Pinning to the react canary version fixed a similar issue for me as that has some new logic for handling this I think
Replying to @AdamRackis
Could be an issue with the HTTPS certificate on localhost? I don't think Chrome will cache if the cert is self signed for example
Replying to @InkmiHq
I haven't played with HTMX much, so I'm not sure. Templates are inert until they are cloned and added to the DOM so the issue may lie there. Do you have a repo you could share?
Finally got round to it! lamplightdev.com/blog/2024/0…
Replying to @passle_ @andrewingram
Ah nice, I always forget you can use shadow dom outside a custom element
Replying to @andrewingram @BHolmesDev
Just waiting on declarative shadow dom support in firefox, but that seems to be pretty close: bugzilla.mozilla.org/show_bu…. Haven't tested in a screen reader yet
requires declarative shadow dom (supported in all modern browsers apart from firefox, but it's on the way: bugzilla.mozilla.org/show_bu…)
<my-el>
<template shadowrootmode="open">
<header></header>
<main>
<slot></slot>
</main>
<footer></footer>
</template>
[above will render then later send slot content which will render in the slot above]
slot content
</my-el>
Replying to @andrewingram @jamonholmgren
How about, "we should consider making this reusable, can you..."
Replying to @AndrewCollins
142 or 143? circlesoflife143.wordpress.c…
