2 ms·
Yes, that's close. Only one thing: that static styles construct shall eventually go into a separate <style> DOM element inside shadow root. Probably not a big
by c-smile 4y ago
Yes, that's close.
Only one thing: that static styles construct shall eventually go into a separate <style> DOM element inside shadow root. Probably not a big deal if there are not that many such components.
- spankalee 4y agoActually, we add the stylesheet objects directly to the shadow root, so they're shared and there's no <style> tags (on supported browsers).