I'm wondering how `StyleSheet` s work under the ho...
# compose-web
d
I'm wondering how
StyleSheet
s work under the hood. I'd like to save my page after it renders once and see the styles in the DOM, but instead, it seems like only empty
<style>
tags are there.
Besides the use-case for saving a page, there's also the experience using browser debug tools. I only see empty style tags when it might instead be useful to see everything I defined.
a
It uses advanced CSS OM API which is faster than text based
So style has rules, but without text representation
a
Daaaamn, I never knew about CSS OM untill now
same 1
d
Thanks! I'll look into it.
a
This is interesting