On Tuesday, November 25, 2014 at 12:52:47 PM UTC+3:30, Max Gonzih wrote:
> Hi everyone.
>
> How can I render reagent components on server side?
> I saw examples with jjs (nashorn) but problem is that my backend stack is
> mostly Ruby. Of course JRuby is possible, but are there any other ways of
> doing that?
> I looked at PhantomJS but got stuck with goog.require calls that are trying
> to use document.createElement('script') to load dependencies.
>
> Any advice is welcome, thank you!
If you want to do it from ruby, i would recommend execjs gem
(https://github.com/sstephenson/execjs).
Also I would recommend this article
(http://fasterthanlime.com/blog/2014/sexps-in-your-browser/) which contains
some very useful ideas. However, he opted out clojurescript for ki.
--
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.