Hi fellow Clojurians! I have been writing Clojure professionally for about 8 years now, and recently came across the https://htmx.org library. It provides an elegant way to build dynamic web apps, so I decided to connect it to a clojure backend and the two go together really nicely.
ctmx provides a ‘component’ macro which expands to both an ordinary function and a REST endpoint (via reitit). It feels quite similar to writing clojurescript, except you are fully on the backend with JVM clojure and no compiled js to load on the frontend. The GitHub repo has a demo project which you can start by cloning and typing
Feedback and suggestions would be much appreciated.