hoplon

2023-10-09T18:29:46.072309Z

Hello, I will do a release soon, update the demos/docs to the latest version because of new inference warnings and will finally announce the recent changes on #announcements. I was hoping to get something written about how we got where we are at but this will delay the announcement so I think that should be done later.

🍿 1
2023-10-09T18:38:29.414389Z

Ideas I'm thinking about, related to Hoplon: • Adding a new provider that used the browser apis directly so people could not complain about using goog or jquery. • Allowing multiple providers to be used in the same app (if someone knows if that would be a bad idea please tell me 😅 ). My first idea is having different namespaces for different providers instead of using the current multimethod approach. • Documenting/allowing using Hoplon to get small bits of interactivity as described in https://code.thheller.com/blog/shadow-cljs/2023/07/13/the-lost-arts-of-cljs-frontend.html and other posts in that series. Let me know if someone has other use cases or ideas.

2023-10-11T13:46:04.168299Z

Thank you for chiming in. I agree that Hoplon seems a nice fit for bits of interactivity and I will try to find if what already exists works and create a demo project.

2023-10-18T17:52:01.767599Z

A cell macro rewrite not coupled to clj and with a debug output mode. The clj coupled part is the primary scittle blocker afaik

2023-10-18T17:53:01.703949Z

All the other ideas are great too, rock on 👍

borkdude 2023-10-27T09:32:16.666289Z

If you are interested in smaller bundle sizes, I recommend making loading clojure.spec optional

borkdude 2023-10-27T09:32:35.303489Z

since loading it pulls in clojure.spec to production code which isn't optimal

borkdude 2023-10-27T11:56:59.615699Z

The shadow-cljs build report will show you how many kb are added because of loading these namespaces

2023-10-27T12:13:59.496099Z

This is a great idea and should be simple to do 👏

chromalchemy 2023-10-10T13:40:16.874849Z

I + hi-lighting the small bits approach. This is probably one of Hoplons relative strengths: not demanding a heavier or more complex stack and bundle, while still being idiomatic cljs (not React semantics, or Squint clj->js transpile, or htmx hypermedia patterns, or more intimate dom api + shadow-cljs knowledge….?) I guess the hardest part for me is maybe understanding and wrangling with the various build and packaging approaches (unless that’s all strictly shadow-cljs territory)

chromalchemy 2023-10-12T23:44:15.489589Z

Adzerk had a post a long time ago about emdedd hoplon in a regular page. Not sure if that’s relevant

2023-10-09T18:44:02.342099Z

I remembered this https://clojurians.slack.com/archives/C08BDAPRA/p1685979486521819