3 ms·
Web 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 foc
by simongray 6y ago
Web 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 6y 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 6y 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 6y agoVisual Studio? First time I hear someone using that for Clojure/Script. Do you mean VSCode or the full on Visual Studio?