On Sat, Jan 18, 2014 at 9:47 AM, Samuel Aaron <[email protected]> wrote:

> > OK, I looked into this. First I was wrong about apply, I was a bit tired
> when I wrote that, apply works fine in this instance because the dom macros
> are also functions.
>
> Oh, interesting - that makes complete sense. Out of interest what's
> gen-react-dom-fns for? Is that just some remains of experimentation or does
> it have other uses?


It generates functions that call React.DOM.tag so that you can use apply. I
told you I was tired :)

David

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to