Hi all, I've just released a new version of Clidget<https://github.com/james-henderson/clidget>- a very lightweight library similar to Om, that watches your application state and re-renders your UI components when necessary.
0.2.0 is a significant performance upgrade over 0.1.0 due to better batching of DOM updates - which means that Clidget is now comparable<https://gist.github.com/james-henderson/9020774>in performance to Om. For those who haven't seen Clidget before: - Clidget has *one macro*, 'defwidget', which looks and behaves like 'defn' - you take in *values* and return a real DOM element, like any other Clojure function. When you call it, pass it *atoms*, and Clidget will work out when the DOM element needs to be re-rendered. That's all there is to it! - You choose how to render the DOM element, how to respond to events and how to update the atoms. Clidget does *one thing* - figuring out when to update widgets - there are people far better than me at designing DOM templating libraries! Useful links: - Github, Rationale and README<https://github.com/james-henderson/clidget> - A more in-depth comparison to Om, Reagent and React<https://github.com/james-henderson/clidget/blob/master/comparison.org> - Clidget 'Hello world<https://github.com/james-henderson/clidget/tree/master/clidget-sample> ' - Contact Manager Tutorial<https://github.com/james-henderson/clidget/tree/master/contacts> (along the same lines as Om + Reagent's tutorials) - TodoMVC implementation<https://github.com/james-henderson/clidget/tree/master/todomvc> Feedback always welcome! Cheers, James (@jarohen <https://twitter.com/jarohen>) -- 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.
