On Tuesday, February 4, 2014 11:24:16 AM UTC+1, Robin Heggelund Hansen wrote:
> Gotta ask, what's the difference between Om and Reagent? > Well, I'd say that the basic functionality of the two is quite similar: it's all about efficiently transforming some application state into a UI description (that is then turned into actual UI by React). The differences come at both ends of that transformation. Om is much more ambitious when it comes to managing that application state. It helps you to handle changing state (and tells you how to do that), whereas with Reagent you're pretty much on your own there. Reagent is just about rendering a UI, and leaves state management to you. At the other end, the UI description in Reagent is a vector of vectors (with the same structure as in Hiccup), whereas Om uses React's javascript "fake DOM" elements more or less directly. Reagent on the other hand keeps the UI description as immutable data until it really has to tell React what to put out there. Then there are obviously some differences in API, but I think that these are more superficial. David might disagree strongly, of course :) /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.