Fork me on GitHub
#reagent
<
2016-07-18
>
renlore09:07:39

hi in reagent how do i add attributes like "required" to the input components?

skapoor09:07:29

@renlore: attributes/values of elements are specified as key/vals in a map, for example: [input {:type "text" :required true}]

j_pb17:07:52

has anybody written a custom reagent atom yet ^^?

j_pb17:07:17

any opinions on how bad of a idea it is to hook into it's internal event loop?

nidu18:07:30

Hello, is there any way in reagent to pass an only child (without wrapping it in list)?

danielcompton21:07:17

@j_pb you can add a watch to it which would be cleaner if you can get the info you need