Nice, React seems to be very popular around here today...

Very interesting to see such a different take on a React interface from my own 
humble attempt. I try to keep components as self contained as possible, where 
as you seem to like more of a top-down approach (if I understand your code 
correctly). I prefer to describe the output in plain ClojureScript data (and 
only convert to React components when necessary), where you call React directly 
with JS objects.

You also seem to call React asynchronously. That may be good for performance, 
but doesn't makes testing awfully cumbersome? Why not rely on React's own 
batching?

I tried to replicate your benchmark here (not sure I got it quite right), and 
results in the same ballpark (around 10ms for your "benchmark 2"):

https://github.com/holmsand/cloact/blob/benchmark/examples/todomvc/src/todomvc.cljs

Thanks for a good read. React is really cool (and ClojureScript even cooler...).

/dan

On Thursday, December 19, 2013 8:12:12 PM UTC+1, David Nolen wrote:
> Enjoy, http://swannodette.github.io/2013/12/17/the-future-of-javascript-mvcs/
> 
> 
> 
> David

-- 
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.

Reply via email to