This is great! Thanks very much. I will play with this over the coming days.
On 30 October 2014 01:05, Kyle Dawkins <[email protected]> wrote: > Hey all > > A few weeks ago I spent some time porting > https://github.com/stuartsierra/component to ClojureScript. The results > are here: > > github: https://github.com/quile/component-cljs > Clojars: [quile/component "0.2.2"] > > My motivation is pretty straightforward: I am keen to make node.js a > really pleasant experience for cljs development. I've done a large amount > of vanilla node.js dev, and the dependency-injection problem always reared > its ugly head at inopportune moments, so making > https://github.com/stuartsierra/component work in cljs seemed like a good > idea. And it was! It works like a charm. > > This port is fairly soft: there are still some failing tests (commented > out) due to the differences in exception-handling between clj and cljs. > Also, I had to port the underlying "dependency" library too: > > github: https://github.com/quile/dependency-cljs > > The upshot of all of this is that it's now very easy to create nicely > modular node.js apps in ClojureScript, with their dependencies injected > correctly. Fun. > > Cheers! > Kyle > > -- > 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. > -- 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.
