Fork me on GitHub
#hoplon
<
2021-01-27
>
dave03:01:35

I saw that and enjoyed reading it. It's the first time that I've seen an actual example of the application code for a Hoplon app that doesn't use the Hoplon compiler -- I wasn't sure how one does that! ๐Ÿ˜„

dave03:01:02

Where (home) is a Hoplon elem

alandipert06:01:37

nice, yeah that's been too-secret knowledge for awhile

mynomoto13:01:31

We probably should document it.

๐Ÿ‘ 4
mynomoto13:01:00

The luminus template should do something like that, but also lots of other things.

kennytilton14:01:40

Nada new, @alandipert! Just banging out CLJ, gleefully watching the wheels come off ReactJS, and rooting for Hoplon/Javelin!

metal 3
alandipert17:01:26

what's the deal with clj and deps.edn and whatnot for clojurescript? is the recommended cljs workflow oriented around them these days, or is shadow-cljs the way?

dave18:01:14

I think there are pros and cons of doing it either way. I think doing it the tools.deps way is appealing because it gives you total control over the ClojureScript compiler options and how/when you're invoking it. But the downside, of course, is that you have to do all of that work yourself, and it's pretty complicated.

dave18:01:43

I've heard great things about shadow-cljs in that it does a good job hiding a lot of that complexity away from you.

dave18:01:43

We're actually contemplating switching over our UI (Geir, which you know well!) to use shadow-cljs instead of Boot. We've experimented with using tools.deps and it works pretty well, but it's also fiddly and we haven't quite gotten the fiddly bits working the way we want.

alandipert18:01:43

gotcha. yeah i think i'm thinking in terms of a speculative hoplon brand refresh, which approach to document and/or promote (if any)

dave19:01:59

This is just my opinion, but I would appreciate seeing instructions to set up a Hoplon project using either tools.deps (invoking the cljs compiler directly) or shadow-cljs

dave20:01:16

At this point, you can probably drop any mention of Boot, IMO

dave20:01:38

If someone is just getting started out with Hoplon, I don't think I would recommend that they use Boot

alandipert20:01:43

right yeah my thinking is similar

flyboarder20:01:36

We have a giant hoplon project powered by boot & shadow-cljs

flyboarder20:01:59

itโ€™s a slow build, and not repl friendly right now but it has so much room for improvement

flyboarder20:01:22

I agree with dave tho, skipping boot unless you need to create a complex build process

flyboarder20:01:13

we should probably make examples that use shadow since many users will be coming from js land