4 ms·
Django + HTMX is truly awesome to work with. It reminds me a bit of Phoenix LiveView in the Elixir world. One note though, the use of `hx-boost` will not upda
by linkdd 4y ago
Django + HTMX is truly awesome to work with.
It reminds me a bit of Phoenix LiveView in the Elixir world.
One note though, the use of `hx-boost` will not update the address in the URL bar, which is problematic if you refresh the page.
Also, I'm using TailwindCSS within my Django templates. At first I didn't like it, I was not understanding the difference with writing `style` attributes and it looked like an anti-pattern to me. But after using it for a while, it's just quicker to refactor, and easier to get it right.
The next thing I'll try with HTMX is to integrate it with SVG. How awesome would it be to have C4 models or other diagrams where you can click the boxes to "zoom in"? I wonder if PlantUML can generate partial diagrams...
- Doxin 4y agoPresumably setting hx-push-url="true" on the hx-boost elements would fix the lack of url updates?