Ancestors

Written by Scott Jehl on 2024-10-22 at 22:49

Where Web Components Shine by @davatron5000 https://daverupert.com/2024/10/super-web-components-sunshine/

=> More informations about this toot | More toots from scottjehl@mstdn.social

Toot

Written by Scott Jehl on 2024-10-22 at 22:51

@davatron5000 great post. I would humbly add that they’re also great at polyfills https://scottjehl.com/posts/polyfilling-with-wcs/

=> More informations about this toot | More toots from scottjehl@mstdn.social

Descendants

Written by Peter Rushforth 🇨🇦🇺🇦 on 2024-10-22 at 22:57

@scottjehl 💯

One day built in, hopefully: https://maps4html.org/web-map-doc/. Good luck with your effort, too!

@davatron5000

=> More informations about this toot | More toots from prushforth@mastodon.social

Written by Dave Rupert on 2024-10-22 at 23:33

@prushforth @scottjehl Holy cow. That’s awesome!

=> More informations about this toot | More toots from davatron5000@mastodon.social

Written by JLarky on 2024-11-17 at 08:25

@scottjehl @davatron5000 It feels like by the time you can call define function that you already downloaded the class implementation... (In the example from the article)

=> More informations about this toot | More toots from jlarky@fosstodon.org

Written by Scott Jehl on 2024-11-17 at 08:33

@jlarky @davatron5000 true. I think the distinction I was aiming to make was that it’s a nicer way to apply behavior conditionally. Perhaps another version of the pattern could instead conditionally import/fetch the script in the first place. But anyway, I meant to compare this to how prior polyfills I’ve built (eg Picturefill) apply their behavior conditionally.

=> More informations about this toot | More toots from scottjehl@mstdn.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113353521643417703
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
285.794173 milliseconds
Gemini-to-HTML Time
1.918577 milliseconds

This content has been proxied by September (ba2dc).