Memory Consumption When Placing Style in Shadow DOM

84 Views Asked by At

I haven't found any information on memory consumption when placing CSS style in Shadow DOM.

What if I have a thousand instances of a particular web component on a page (each with style via shadow root); would that embedded style take up a 999 times as much memory as doing the same styling via an external style sheet?

0

There are 0 best solutions below