3 ms·
I'm learning clj/cljs .. finding that experience a blast! I almost never do any front end work, but with cljs and re-agent, I found myself productive. Clj itsel
by kim0 10y ago
I'm learning clj/cljs .. finding that experience a blast! I almost never do any front end work, but with cljs and re-agent, I found myself productive. Clj itself strikes me as a very well thought out language
- luck_fenovo 10y agoI enjoy clojure a lot, I've had some difficulty getting started with cljs though. It seems like all the guides on getting set up with tooling are out of date. I'd particularly like to use it with node for scripting tasks, since the Clojure startup time makes it impractical to use for anything that isn't a long-running task. What have you used to get up and running?
- t1amat 10y agoLumo[1] probably fits your use case perfectly. It's a ClojureScript REPL running in a NodeJS context. You have access to both bootstrap-ClojureScript-compatible libs as well as the whole NodeJS ecosystem. The REPL has some nice ergonomic features and comes with a TCP socket REPL you can use with Emacs inf-clojure and (I hear) Cursive. [1]: https://github.com/anmonteiro/lumo https://github.com/anmonteiro/lumo
- luck_fenovo 10y agoInteresting, I'll check it out! Thanks for the tip
- lambdadmitry 10y agoCheck out re-frame [1], too. It's a very thin layer on top of Reagent, but it will help you to get the overall structure just right. Also, its README is worth reading even if you won't use re-frame :) [1]: https://github.com/Day8/re-frame https://github.com/Day8/re-frame
- tluyben2 10y agoRe-frame was the project that sucked me in. It is a good read, from the README to the code.