Re: [whatwg/dom] Add NodeList.setAttributes (#895)

@michaschwab These are great use cases for the batch commit API in [template parts proposal](https://github.com/rniwa/webcomponents/blob/add-dom-parts-proposal/proposals/DOM-Parts.md#batching-template-or-not).  

One can associate attribute and property `parts` with a DOM tree, update their values, and batch commit them to the DOM. In addition, once parts are attached, they can be repeatedly updated and committed.  This avoids the multiple round trips between JS and browser internals for each set.  

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/895#issuecomment-719030545

Received on Thursday, 29 October 2020 21:23:41 UTC