Thoughts on Go + HTMX + Templ

I’ve heard a lot of buzz about HTMX lately. It’s a JS library that “gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext.” Here’s the simplest example that makes a POST request to /clicked, receives HTML from the server, and then replaces the button with the response. <script src="https://unpkg....

April 26, 2024 · Joe Lazaro