Re: [ClojureScript] Om/Sablono and Reagent (was: reagent-forms a simple data binding library for Reagent

2014-09-10 Thread Daniel Kersten
Thanks for the detailed response, Sean. Interesting and good points. I've seen Peters notes and my initial thoughts were that half of the Bad points can be easily solved using om-tools and the other half by adhering to a strict separation between domain state (the what - stuff you'd store in a

[ClojureScript] Re: cljs compiler implementation of function call

2014-09-10 Thread Thomas Heller
On Tuesday, September 9, 2014 11:06:07 AM UTC+2, Yehonathan Sharvit wrote: I am wondering why the cljs compiler emits code that calls functions using call and not straight js function call. for instance:  (defn foo []) (foo) is compiled to: user.foo = function() {   return

Re: [ClojureScript] [ANN] reagent-forms a simple data binding library for Reagent

2014-09-10 Thread Jamie Orchard-Hays
I'm curious as well. I started with Reagent, but switched to Om/Sablono after finding Reagent's app data handling too limited for what I needed. The trade-off is much more to think about (complexity) when writing Om components. Jamie On Sep 9, 2014, at 3:51 AM, Daniel Kersten

Re: [ClojureScript] [ANN] reagent-forms a simple data binding library for Reagent

2014-09-10 Thread Dmitri Sotnikov
I actually found Reagent's data handling to be very flexible. It' makes it easy to create local states for components as well as managing the global state using a global state atom. I'd be curious to hear what limitations others have run into and how they could be addressed. On Wednesday,