Re:What it's like to run Htmx in Production
by jdmoreira on Monday April 08, 2024 @12:02PM
(#39971042)
I get it, thanks.
Out of curiosity what's the templating lib/engine/whatever you use in Go?
Re:What it's like to run Htmx in Production
by llmblockchain on Monday April 08, 2024 @12:05PM
(#39971078)
html/template
What I like about my tech stack (go, tailwind, htmx, alpinejs) is the fact I can work entirely in HTML and Go. It keeps the work very focused and simple.
I render HTML from Go. I style it with Tailwind. If I remove styles from HTML then Tailwind culls the unused styles (I don't need to manage CSS). I use HTMX for some dynamic behavior (active search, lazy loading content/modals/slide overs/product details/etc). I use Alpine for client side state (drop downs, slide overs, toggles, etc).