[HN Gopher] Targeting by Reference in the Shadow DOM
___________________________________________________________________
Targeting by Reference in the Shadow DOM
Author : surprisetalk
Score : 17 points
Date : 2025-12-20 15:12 UTC (6 days ago)
(HTM) web link (meyerweb.com)
(TXT) w3m dump (meyerweb.com)
| azangru wrote:
| > 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.
___________________________________________________________________
(page generated 2025-12-26 23:01 UTC)