Open JDemler opened 6 years ago
Unguarded styles became very tricky to implement in 0.19
because toString
can't be used in a package or code compiled with --optimize
.
So, I removed it when doing the upgrade, but I forgot that it was the only option for styleSheetWith
!
The new style-elements still allows
Style.styleSheetWith
to be called with a list of options.The only way to make an option though was
Style.unguarded
. This function was commented out, but the code around it stayed the same. codeIs this an intentional change? How can I achieve unguarded styles in 5.0.0?