2 ms·
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 sit
by typon 9y ago
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.
- jiyinyiyong 9y agoStill, please try shadow-cljs https://news.ycombinator.com/item?id=16866085 https://news.ycombinator.com/item?id=16866085 and join us on Slack.
- typon 9y agoYep, 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.
- holtalanm 9y agoi think the underlying problem is that the documentation is incomplete and/or outright incorrect. CLJSJS was a life-saver for me, at least.
- puredanger 9y agoIt'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 https://github.com/clojure/clojurescript-site/issues