3 ms·
Looks a lot like css in JS to me, have you considered simply using the platform instead?
by phpnode 7y ago
Looks a lot like css in JS to me, have you considered simply using the platform instead?
- spankalee 7y agoThis passes the CSS text to CSSStyleSheet.replace(), so it very much is using the platform. CSS Modules will make it possible to directly import a Stylesheet: https://github.com/w3c/webcomponents/issues/759 https://github.com/w3c/webcomponents/issues/759