Thanks Ivan.

I felt doing it the way you suggested would somehow defeat the purpose of
using reagent in the first place.
I attempted a few approaches, including trying out hickory[1] to convert my
HTML fragment into clojure structures.

I ran into issues very specific to my use-case then. I finally had no
option but to hook into the React lifecycle and set my HTML.
This works - and along the way, I think I understood Reagent a bit better
too! :)

Thanks,
Ravindra

[1] https://github.com/davidsantiago/hickory


On Mon, Jul 14, 2014 at 8:35 PM, Ivan L <[email protected]> wrote:

> I'm learning it as well, but my guess is this is probably best done via
> some third party js to inject it after component mounting.  If you're not
> familiar with react lifecycle events you should read up on that now,
> basically they are hooks you can use to alter the real dom after it has
> been rendered.  react docs has some info of course, and the reagent long
> intro has some examples with it in their site extended intro as well as
> their examples source folder on github.
>
> --
> 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.
>

-- 
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