Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

HTMX is one of those things that I love the idea of, but I haven’t yet used it in a way that I really enjoy. Go’s HTML templating made it fairly good but it still didn’t feel great to use.


There is some truth to this. Imho the next level of htmx is unlocked when you componentize everything like a React app...but with nested routes corresponding to nested components like a Remix app...and using an HTML generation DSL embedded directly in your language, so HTML becomes a first-class citizen of your language's constructs, rather than a templated afterthought. I have a demo of this: https://github.com/yawaramin/dream-html/tree/todoapp/app


You're the first one I heard who says Go's templating is fairly good.

Can you tell me why you think so? I love Go, but their templating is not my favorite.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: