|
|
|
|
|
by MrJohz
1318 days ago
|
|
Fwiw, most CSS-in-JS libraries don't use `style` directly, and so also allow the same features. One thing I've seen often is to use a `css` pseudo-prop so that it looks a bit like using `style` (but you've still got access to the full force of normal CSS rules). My favourite variation of this so far has been typestyle, which I believe works along essentially the same principles as in Elm. |
|