Fork me on GitHub
#reagent
<
2018-07-23
>
urbanslug13:07:04

Any of you guys using reactstrap or any other CSS framework?

urbanslug13:07:10

So react seems to have a lib for forms, tables etc because well I guess components are - easy to reuse - hard to write/maintain - somewhat a mess Anyway this applies to react in JS but are guys using these same tools with reagent?

nenadalm18:07:12

I am using material-ui for components (https://material-ui.com/) and re-frame-form for forms https://github.com/imatic/re-frame-form (it doesn't do much - it's just some standard collection of re-frame events, subscriptions, ...). Messy example can be found here: https://github.com/imatic/re-frame-form/blob/master/examples/re-frame-form/src/example/core.cljs#L50, a bit better example can be found here: https://github.com/nenadalm/Warehouse/blob/d29bd308d5cf6697bd22cb138d26e5b271b3a2fe/frontend/src/warehouse/pages/list/views.cljs#L170.

urbanslug03:07:57

This is interesting 🙂

João Lucas14:07:45

I'm trying to use Material UI with CLJS.

gadfly36115:07:43

@urbanslug To use reactstrap from reagent, try baking-soda: https://github.com/gadfly361/baking-soda

gadfly36115:07:35

However its sister project for semantic ui, soda-ash, is more popular https://github.com/gadfly361/soda-ash

urbanslug15:07:22

these names don't even sound real lol

gadfly36115:07:56

@urbanslug hahah my bad 😂

fabrao18:07:31

Hello all, is there any way to use create-class inside create-class?

justinlee18:07:28

@fabrao what do you mean?

justinlee18:07:22

you could stick the results of a create-class in a let block i suppose, but you wouldn’t want to inline it in reagent-render

justinlee18:07:55

but given how verbose they are, you’d almost certainly want to just name it in its own func

fabrao18:07:09

@lee.justin.m That´s what I´m looking for, inline it for component-did-mount loading informations

fabrao18:07:05

so, that´s the best way? Stick results in let blocks?

justinlee19:07:10

i’m not following. what are you trying to accomplish? i don’t think you want to inline it