ClojureScript Libraries

12 views
Skip to first unread message

Chris Cornelison

unread,
Feb 24, 2015, 11:40:43 PM2/24/15
to cloj...@googlegroups.com
I'm a Clojure developer, but not a web-developer, and have thought, maybe ClojureScript is a way into the web-space.

However, when I look around, I see so many choices between libraries that all claim to solve the same problem, I really just want to turn and run.  For example...


How many different ways can there really be to find and manipulate nodes in a tree?  Apparently there are at least 10.

or how about react wrappers (8 and counting)


I'm I the only one that thinks this is a little bit insane?  
Are there good reasons for all of these? 
What am I missing something?
How do people get anything done with so many choices to evaluate?

Thanks,
Chris

Brian Maddy

unread,
Feb 25, 2015, 10:21:04 AM2/25/15
to cloj...@googlegroups.com
Yeah, it's kind of crazy--but that's how progress often is. :)

I've found it helpful to follow the ClojureScript mailing list. The discussions on there tend to focus a lot on Om and Reagent (both based on Facebook's React). I've been playing with Om myself and have been really enjoying it. Also, cljsjs seems like a good place to look for commonly used javascript libraries you might need.

Brian


--
You received this message because you are subscribed to the Google Groups "clojure.mn" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojuremn+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris Thompson

unread,
Feb 25, 2015, 1:52:25 PM2/25/15
to cloj...@googlegroups.com

Chris Thompson

unread,
Feb 25, 2015, 1:54:58 PM2/25/15
to cloj...@googlegroups.com
Chestnut seems like a good way to get started. I haven’t used it yet myself. Has anyone else used it?- or is there another cljs template of which you are a fan?



-CT


On Feb 25, 2015, at 9:21 AM, Brian Maddy <br...@brianmaddy.com> wrote:

Aaron Babcock

unread,
Feb 25, 2015, 5:19:21 PM2/25/15
to cloj...@googlegroups.com


Chestnut is really fantastic. I think it should be the main jumping off point for anyone interested in the clojure/clojurescript combo. The best thing about clojure/clojurescript is the great repl support, but setting it all up from scratch is a bit of a pain. 

One of the things chestnut gives you is version numbers of all the repl tools that are known to work together, as I've found just taking the latest of things like figwheel, piggieback, weasel, cider and clojurescript can give you few troublesome incompatibilities lately.

With chestnut getting it all going should be as simple as:


$lein new chestnut my_project --snapshot

$lein repl
my_project.server=> (run)      #starts http server on 10555
my_project.server=> (browser-repl)  #puts you in a clojurescript repl

cljs.user=> (js/alert "hello world")   #controlling the browser



Reply all
Reply to author
Forward
0 new messages