Fork me on GitHub
#reagent
<
2019-09-05
>
romain09:09:03

You have a lot of choice. Bulma is javascript-free, ant design with https://gitlab.com/synqrinus/syn-antd, styled component (check https://www.jacekschae.com/learn-re-frame-free)

romain09:09:21

antd is very nice but it seems really heavy

juhoteperi10:09:17

All the JS component libraries are going to be quite heavy as you don't get dead code elimination for JS libs. My choice is usually to just implement all the components in Cljs and style with SASS/LESS.

๐Ÿ‘ 4
juhoteperi10:09:45

Bulma seems like OK CSS framework if you don't want to start from scratch

David Pham14:09:05

My issue is when you start to mix some package requiring CSS

David Pham14:09:13

You then get some annoying dependencies

kenny15:09:41

I'm looking to upgrade my React dependency. Is reagent compatible with React 16.9?

kenny15:09:02

Looks like the package.json in Reagent's repo has 16.9 so assuming that means it's compatible! https://github.com/reagent-project/reagent/blob/3b10c426c1003ba9bc93e8c1e3c3d13a73158cec/package.json#L6-L7

athomasoriginal15:09:57

Yeah, youโ€™re good ๐Ÿ™‚

sifou biri16:09:51

Hello, how to set static properties in reagent component/class, like the one used in React Navigation to configure header foer example called navigationOptions?

David Pham16:09:15

You could use the 3rd form and use local state.

David Pham16:09:28

Although I found navigation easier with re-frame

๐Ÿ‘ 4
๐Ÿ™‚ 4