Fork me on GitHub
#reagent
<
2017-07-26
>
pesterhazy08:07:44

Interesting! @daiyi, @saskia please tell us more!

daiyi14:07:54

oh yes, we started tackling this problem this week. we haven't made progress on a solution yet though, will keep you posted (:

daiyi14:07:18

I have come with a question of my own! where can I find a good cheatsheet for defining styles with reagent? I find myself frequently guessing whether css wants strings or numbers or other, and having to google "how do I define border styles in reagent". is there a definitive resource for this?

pesterhazy16:07:42

you'll need to make the translation to Reagent in your head

pesterhazy16:07:53

styles are the same as with React, except for kebab-case; that is, in Reagent you can specify all styles in kebab-case rather than lowerCamelCase

pesterhazy16:07:47

(this is assuming you're talking about react-dom, i.e. in a web browser, not react-native)