Been thinking about adopting constructible style sheets into your document fragments? No? well, I have, and know you can too! https://dev.to/westbrook/why-would-anyone-use-constructible-stylesheets-anyways-19ng … #WebComponents #ShadowDOM #css #CSSModules
I was somewhat forced to fix my code in SingleFile (https://github.com/gildas-lormeau/SingleFile …) to support them (i.e. serialize them) and I was not very pleased to be, once again, confronted to a serialization issue related to web components...
-
-
Serialize what, exactly?
-
I think I have a better idea now. What would be the ideal use case for you extension there? Seems like making content harder to scape whole hog might be good? Also, what do you do with styles built with things like Emotion or Styled Components?
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.