Hacker News new | ask | show | jobs
by chainwax 1035 days ago
Congratulations! I had a fun time making a little project with Htmx, though ultimately went with something else as I ended up heavily using a openlayers, and map libs are notoriously heavy with clientside javascript and Svelte ended up being a better tool for the job.

I plan on using it again for a future Golang project and look forward to following it's development. If you're in need of a simple/medium complex front end for your app, and _especially_ if you're already using template fragments[0], I really recommend giving HTMX a shot. It's pretty fun to work with coming from Javascriptland.

Also, the guy who runs their Twitter account[1] is hilarious.

[0] https://htmx.org/essays/template-fragments/

[1] https://twitter.com/htmx_org

2 comments

I’ve had good luck combining HTMX with D3.js but I’ve treated D3.js visualizations as “just another HTML element” with any particularly complex interaction with the rest of the site.
My map has a _bunch_ of controls overtop of it that let the user mess around with what's displayed.

Could I have made it work? Yes

Could I have just made the map it's own self-sufficient component and left the rest of the app as is? Also yes

Did I do these things? No. As one tends to do, I just nuked it and started over

The guy that manages their Twitter account is the creator himself: @recursivedoubts