hoplon 2019-05-26

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

👍 1

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?

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

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

👍 1

however we dont recommend that anymore anyway

👍 1

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

with any client side library

👍 1

@geo.ciobanu has joined the channel