News for hackers. Stuff that matters.
Re:ClojureScript beginners' home page by typon on Wednesday April 18, 2018 @10:01AM (#16867439)
Been working on a cljs project and took me a solid week to get npm integration working. The documentation is either wrong or incomplete on both the official site and the wikis for lein/boot.
Re:ClojureScript beginners' home page by jiyinyiyong on Wednesday April 18, 2018 @10:06AM (#16867476)
Still, please try shadow-cljs https://news.ycombinator.com/item?id=16866085 and join us on Slack.
Re:ClojureScript beginners' home page by typon on Wednesday April 18, 2018 @10:31AM (#16867661)
Yep, that's what I ended up discovering and going with.

However, shadow-cljs REPL integration was also pretty hard to get working with my editor (spacemacs), because most of the tutorials assume you're using lein to build your project.

shadow-cljs is pretty dope though. Almost instantaneous rebuild times and basically no setup besides a small, understandable config file.

Re:ClojureScript beginners' home page by puredanger on Wednesday April 18, 2018 @10:34AM (#16867687)
It's helpful to post doc problems / questions on the clojurescript-site issues so that it can be improved.

https://github.com/clojure/clojurescript-site/issues

Re:ClojureScript beginners' home page by holtalanm on Wednesday April 18, 2018 @10:18AM (#16867558)
i think the underlying problem is that the documentation is incomplete and/or outright incorrect.

CLJSJS was a life-saver for me, at least.