Fork me on GitHub
#hoplon
<
2019-05-26
>
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.

jumblerg14:05:36

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

👍 1
jumblerg14:05:36

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

👍 1
Ahmed Hassan14:05:13

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

jumblerg16:05:36

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.

👍 1
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?

flyboarder23:05:53

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

👍 1
flyboarder23:05:05

however we dont recommend that anymore anyway

👍 1
Ahmed Hassan05:05:15

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

flyboarder00:05:40

with any client side library

👍 1