Re: [ClojureScript] Being productive with clojurescript

2014-12-20 Thread Arnaud Bailly
I had a look at http://facebook.github.io/react/docs/test-utils.html which seems interesting but could not figure out how to extract actual DOM component from Om... Was a couple of months ago, and I am not very good at searching the web so I might have overlooked something. -- Arnaud Bailly twit

Re: [ClojureScript] Being productive with clojurescript

2014-12-19 Thread David Nolen
On Fri, Dec 19, 2014 at 1:24 PM, Arnaud Bailly wrote: > This leaves me with the question: How can I unit test my stuff? Have you had > experience with integrating React.js testing fwk? > > Thanks again for your help, > Arnaud I haven't looked at existing React.js testing solutions too closely bu

Re: [ClojureScript] Being productive with clojurescript

2014-12-19 Thread Arnaud Bailly
On Friday, December 19, 2014 6:37:14 PM UTC+1, David Nolen wrote: > On Fri, Dec 19, 2014 at 12:10 PM, Arnaud Bailly > wrote: > > Well, I would like to have it in dev too... What if there is a bug or > > misused feature in the minifier/compiler? I want to catch it as quickly as > > possible. And

Re: [ClojureScript] Being productive with clojurescript

2014-12-19 Thread David Nolen
On Fri, Dec 19, 2014 at 12:10 PM, Arnaud Bailly wrote: > Well, I would like to have it in dev too... What if there is a bug or misused > feature in the minifier/compiler? I want to catch it as quickly as possible. > And any test I can write in the browser or using some other tool like > seleniu

Re: [ClojureScript] Being productive with clojurescript

2014-12-19 Thread Arnaud Bailly
On Friday, December 19, 2014 5:47:53 PM UTC+1, David Nolen wrote: > On Fri, Dec 19, 2014 at 11:29 AM, Arnaud Bailly wrote: > There's an open ticket to address this which needs much review & > consideration. OK, I think I will wait a little bit before trying to offer a PR :-) > > In the meantime

Re: [ClojureScript] Being productive with clojurescript

2014-12-19 Thread David Nolen
On Fri, Dec 19, 2014 at 11:29 AM, Arnaud Bailly wrote: > Thanks for your answer. > > Actually, I am not using :none. As advocated on cljsbuild page and Om > tutorial, I have tried to use two configurations, one for dev with no > optimisation, one for prod with advanced optimisations. Problem is

Re: [ClojureScript] Being productive with clojurescript

2014-12-19 Thread Arnaud Bailly
Thanks for your answer. Actually, I am not using :none. As advocated on cljsbuild page and Om tutorial, I have tried to use two configurations, one for dev with no optimisation, one for prod with advanced optimisations. Problem is that structure of JS within HTML pages is not the same so one h

Re: [ClojureScript] Being productive with clojurescript

2014-12-19 Thread David Nolen
I'll let others speak to your other points. But if :none is taking more than hundreds of milliseconds something is wrong with your build settings. On Friday, December 19, 2014, Arnaud Bailly wrote: > Hello, > I have been developing with Om and clojurescript for a few months now, and > I do feel

[ClojureScript] Being productive with clojurescript

2014-12-19 Thread Arnaud Bailly
Hello, I have been developing with Om and clojurescript for a few months now, and I do feel I am missing something to get as productive as I am when working with Haskell (or java for that matter). I would appreciate some advices or pointers resources from more experienced people on how to get to t