@kenchris commented on this pull request.
> +```js
+const firstName = new AttributePart();
+const lastName = new AttributePart();
+const group = AttributePartGroup(element, "title");
+group.append(firstName, " ", lastName);
+```
+
+This is morally equivalent to option 1 except there is an explicit grouping
+step.
+
+- **Pros**: Nicer syntax by the virtue of individual "partial" `AttributePart`'s
+ existence at the time of grouping. Code that assigns values to `AttributePart`
+ only needs to know about `AttributePart`
+- **Cons**: More objects / complexity. `AttributePart` will have two modes.
+
+### Option 3. Introduce `PartialAttributePart`
AttributePartFragment?
--
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/pull/1015#pullrequestreview-1492630524
You are receiving this because you are subscribed to this thread.
Message ID: <WICG/webcomponents/pull/1015/review/1492630524@github.com>