hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
dave 2021-01-27T03:11:35.001700Z

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! πŸ˜„

dave 2021-01-27T03:13:02.002400Z

Where (home) is a Hoplon elem

2021-01-27T06:47:37.002700Z

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

2021-01-27T13:09:31.003300Z

We probably should document it.

1πŸ‘
2021-01-27T13:11:00.004700Z

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

kennytilton 2021-01-27T14:41:40.006500Z

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

1🀘
2021-01-27T17:58:26.007500Z

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?

dave 2021-01-27T18:34:14.008900Z

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.

dave 2021-01-27T18:34:43.009500Z

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

dave 2021-01-27T18:35:43.010700Z

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.

2021-01-27T18:37:43.011400Z

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

dave 2021-01-27T19:59:59.012300Z

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

dave 2021-01-27T20:00:16.012600Z

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

dave 2021-01-27T20:00:38.013Z

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

2021-01-27T20:04:43.013200Z

right yeah my thinking is similar

flyboarder 2021-01-27T20:06:06.013400Z

https://github.com/degree9/boot-shadow

flyboarder 2021-01-27T20:06:36.013900Z

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

flyboarder 2021-01-27T20:06:59.014500Z

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

flyboarder 2021-01-27T20:08:22.014900Z

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

flyboarder 2021-01-27T20:09:13.015600Z

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