Applying the Art of CLJS Frontend
This article is a follow-up to a previous post about the Lost Arts of CLJS Frontend. The author promises a demo and delivers on that promise by reusing the eelchat repository from the biff tutorial. The author explains that it doesn't matter which backend stack you use, as eelchat is already set up and only requires minor changes to integrate CLJS. The author assumes that the reader has the necessary Clojure tools and babashka installed, and mentions that node and npm are optional but useful. The article provides a disclaimer, stating that it is not meant to criticize HTMX, hyperscript, or biff, but rather to demonstrate how to start using CLJS in a lightweight manner with a basic setup. The author explains the setup process, including installing tailwindcss via npm and creating a shadow-cljs.edn config file. The article concludes by mentioning that deps.edn is used for demo purposes, but shadow-cljs can be adapted for future needs.