Fork me on GitHub
Ahmed Hassan09:05:32

Are Hoplon, Javelin and Castra tightly coupled with Boot? I want to use these with Clojure CLI Tools and Shadow-cljs.


@ahmed1hsn not at all, you can check them out just like any other jar

👍 4
Ahmed Hassan14:05:13

To use Google Closure Library instead of Jquery, in Boot template I have to use :refer #{'} in Hoplon Task. How do I do it in Deps CLI and Shadow-cljs? And How do I process .hl files?


i can't speak to the setup you're using since i do everything with boot, but all the hoplon lib does is give you functions that return dom elements - it is sugar over (.createElement js/document "div") or whatever you're using. the boot task just generates the html file for you, as i recall.

👍 4
Ahmed Hassan16:05:06

So, it's (hoplon) Task of Boot which by default includes Jquery, if we use Hoplon library standalone with other tools it won't include Jquery. Am I right?


correct, you will also not be able to use .hl files without boot

👍 4

however we dont recommend that anymore anyway

👍 4
Ahmed Hassan05:05:15

How do you fetch data on client side? With Castra or Something like cljs-ajax?


with any client side library

👍 4