- From: Dan Clark <notifications@github.com>
- Date: Thu, 20 Feb 2025 17:16:47 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 21 February 2025 01:16:51 UTC
dandclark left a comment (WICG/webcomponents#1093) > I found it counter-intuitive, but Dan didn't, so I don't know what most web developers would think The [Web Components Community group F2F](https://github.com/WICG/webcomponents/issues/1083#issuecomment-2660170704) liked the nullable version better, although I probably biased things by stating that as my preference (I've come around to see it that way). > Dan: reference target IDL should be nullable? It gets into weirdness, if you set an id to null, it becomes the string “null”. Feels like a pitfall, especially if you want to check if it is null (falsy). The question really is how do we unset this value. Leaning towards making it nullable. Other takes? Keith: is this specified as reflection of the attribute? It has to be limited to known values, right? Dan: it won’t reflect elements, just what you set it. The next issues get into more interesting cases. Dan: it sounds like no disagreement, so we can close that out. There was an extended pause for feedback before my "it sounds like no disagreement". 😊 -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1093#issuecomment-2673114145 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1093/2673114145@github.com>
Received on Friday, 21 February 2025 01:16:51 UTC