On Tuesday, February 11, 2014 12:59:13 PM UTC+1, bob wrote: > I am new to react and reagent, the state is hard coded in the demo and > tutorials, I am not sure how to retrieve data from server side and set to > reagent? > > Reagent doesn't have any explicit support for ajax and the like at all, so you will have to use some other way to get state from the server.
You could use for example the functions provided by the Closure library, or some ClojureScript-friendlier lib, like cljs-ajax: https://github.com/yogthos/cljs-ajax /dan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.