Skip to content

Tagged: custom-elements

  • Posted on

    Blinded By the Light DOM – Eric’s Archived Thoughts

    Eric Meyer describes his journey of learning about and implementing fully-Light-DOM web components.

    You just take some normal HTML markup, wrap it with a custom element, and then write some JS to add capabilities which you can then style with regular CSS! Everything’s of the Light Side of the Web. No need to pierce the Vale of Shadows or whatever.

  • Posted on

    Adactio: Journal—HTML web components

    Jeremy Keith discusses what makes a custom element an HTML web component.

    If your custom element is empty, it’s not an HTML web component. But if you’re using a custom element to extend existing markup, that’s an HTML web component.

    React encouraged a mindset of replacement: “forgot [sic] what browsers can do; do everything in a React component instead, even if you’re reinventing the wheel.”

    HTML web components encourage a mindset of augmentation instead.