Re: [WICG/webcomponents] Should browsers do bookkeeping on DOM parts after initial parse? (Issue #1030)

Consider the following test case.

```
const el = template`<div>{{#}}{{/#}}</div>`;
const child = template`<span>{{#}}Something here{{/#}}</span>`;
const part = el.content.getPartRoot().getParts()[0];
expect(part.getParts().length).toBe(0);
part.replaceChildren(child);
expect(part.getParts().length).toBe(1);
```




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

Message ID: <WICG/webcomponents/issues/1030/1721015261@github.com>

Received on Friday, 15 September 2023 10:05:53 UTC