Targeting by Reference in the Shadow DOM

(meyerweb.com)

19 points | by surprisetalk 7 days ago ago

1 comments

  • azangru 21 hours ago ago

    > No, nothing this simple should really be a web component

    ...he writes about a custom checkbox.

    This is one of the things I've been having problems with. Because the way many frontend developers have been trained by react and other component-based libraries is that a custom checkbox should absolutely be its own component that encapsulates the styles and behaviors that are specific to it. It's painful if this now goes against the grain of the web platform.