What is Nostr?
Scott Jehl /
npub1kdn…a8jh
2024-06-03 16:07:55

Scott Jehl on Nostr: I suspect that MDN's custom elements guide has led many web components newcomers to ...

I suspect that MDN's custom elements guide has led many web components newcomers to early disappointment. It leads with customized built-ins as the first of two enhancement paths, and showcases some great examples that use them via [is=""]. It takes some digging (or testing) to learn Webkit doesn't implement that part of the standard. By then, you might've thought built-ins would be the primary way you'd bind enhancements! But then, the guide does follow the standard
https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements
Author Public Key
npub1kdn9z0lrgntme5yjewfw3kac7pl0vvsahhc6qh7ngwdshgupc9gqaaa8jh