Re: [WICG/webcomponents] Template/part proposals - Naming for DOM Parts API (#902)

@luwes I named it `ChildPart` in lit-html 2.0 (updated from `NodePart` in lit-html 1.0) mainly because it's a `Part` in child position. I suppose it also could have been `ChildrenPart`. This proposal and lit-html have influenced each other, so the names are similar...

I don't think any name is going to be perfect here. I suspect the names that are generic enough to apply to to attributes, children, properties, etc; specific enough to refer to a place but not a specific Node; and short enough to be nice and convenient; will end up being very general and likely collide with other concepts: "part", "range", "point" and so on.

If we did have to live with some potential collision with other concepts, I think "part" still has a lot going for it on other aspects.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/902#issuecomment-1325894487
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/902/1325894487@github.com>

Received on Thursday, 24 November 2022 03:11:11 UTC