Fork me on GitHub
#cljsrn
<
2016-04-26
>
rikf00:04:45

if anybody else can help me out with the question above (How to grab the value out of a TextEdit component when an action occurs) use re-frame and re-natal I would really appreciate it simple_smile

frank01:04:45

what's a TextEdit component?

rikf01:04:27

Excuse me TextInput

rikf01:04:45

i.e

(def text-input (r/adapt-react-class (.-TextInput js/React)))

rikf02:04:41

never mind, got it sorted

a.espolov14:04:12

r/adapt-react-class analog for om.next?

frank14:04:15

I've been using (js/React.createElement ClassName (clj->js props))

frank14:04:42

you can probably wrap that in a higher order function to make things simplier

a.espolov14:04:17

i’m not use clj->js

frank14:04:44

did you use #js reader macro instead?

a.espolov14:04:29

no pure cljs map)