Re: [w3c/webcomponents] Template/part proposals should explain how and why they improve performance (#901)

Coming back the performance topic. Here's a good use case for batching, [issues/895](https://github.com/whatwg/dom/issues/895).

The issue outline use cases for updating multiple nodes and their attributes. Currently, there's a big performance cost because each update is a traversal from JS, through the binding layer, down the browser's internals. Batching will enable staging of these updates in JS, and then commit all the updates inside, staying within the browser internals in one go.  

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

Received on Thursday, 29 October 2020 21:06:37 UTC