5 ms·
Somebody please write a book on Clojurescript, reframe and tooling -- its about time. There are so many books on Clojure but very few on Clojurescript and most
by manishsharan 7y ago
Somebody please write a book on Clojurescript, reframe and tooling -- its about time. There are so many books on Clojure but very few on Clojurescript and most of the existing Clojurescript books are too old and have not kept up.
I prefer learning new languages by reading books about them.
- simongray 7y agoWeb Development with Clojure (3rd edition) comes out later this year. It's got both Clojure and ClojureScript in it. In fact, even Clojure books that aren't focused on web development tend to have a ClojureScript section in them. ClojureScript Unraveled is being updated continuously and is available for free online: https://funcool.github.io/clojurescript-unraveled/ https://funcool.github.io/clojurescript-unraveled/ But honestly, you can use Clojure books to learn ClojureScript too. They're basically the same language, with a few minor differences based on underlying differences in the hosts (JS and JVM). I tend to write most of my code in CLJC style, which can be compiled for either platforms.
- manishsharan 7y agoThe complexity with Clojurescript is in the tooling ecosystem. With Clojure , you only have the repl. However, with clojurescript, your have figwheel, shadocljs etc etc. I gave up on setting that up correctly with my IDE( Visual Studio).
- simongray 7y agoShadow CLJS is very easy to set up and there's a whole book's worth of documentation: https://shadow-cljs.github.io/docs/UsersGuide.html https://shadow-cljs.github.io/docs/UsersGuide.html You don't need figwheel (or any other tool) if you just want to write ClojureScript. You can get a ClojureScript browser REPL like this (mac example): brew install node npm install -g shadow-cljs shadow-cljs browser-repl I get that it's going to be hard if you want to integrate stuff into an IDE that doesn't support ClojureScript. I use IntelliJ with the Cursive plugin (free version) and use `deps.edn` for dependencies since it's supported directly in Cursive.
- didibus 7y agoVisual Studio? First time I hear someone using that for Clojure/Script. Do you mean VSCode or the full on Visual Studio?
- olah_1 7y agoThis is the book you're looking for: https://www.learn-clojurescript.com/ https://www.learn-clojurescript.com/ I've been keeping tabs on it and progress is being made all the time. Already tons of content.