htmgo
Dev tools
web framework
SHOW HN2024
How HN took it
7 positive, 8 neutral or asking, 1 mixed, 5 critical, out of 21 comments about the project. Thread score +0.14.
Idea: 3 for, 2 againstDesign: 3 for, 2 againstExecution: 0 for, 1 againstDocs: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Good documentation and clean website
From 3 comments
This is useful! Love the Go & HTMX combination and use it often. Good documentation too for an alpha release. Nice work.
DLA on HNI'll defintely give it a try when I can but in the meantime I wanted to congratulate and encourage you for the *simple* and yet very practical website presenting the project.…
pmdfgy on HNBeautiful! I don't use Go anymore (moved to Rust) but this looks pristine.
ilrwbwrkhv on HN
Appealing Go plus htmx combination
From 2 comments
This is useful! Love the Go & HTMX combination and use it often. Good documentation too for an alpha release. Nice work.
DLA on HNBackend devs rejoice as they can now build dashboards without leaving go.
ocean_moist on HN
Objections
Writing HTML as Go function calls is verbose and hard to read
From 2 comments
Without touching JavaScript but now you have to type return h.NewPage( h.Div( h.Class("flex gap-2"), h.TextF("the current time is %s", now.String()) ) ) To me that is horrible.
2024user on HNI remember the days when one of the complaints about PHP was people mixing PHP and HTML together. And no, it was mixing PHP and HTML together. That’s it. Don’t try to tack on…
jasonlotito on HN
Reinventing HTML in another language is too restrictive
From 1 comment
Welp, another fasthtml project. I still don't understand the idea of reinventing HTML in another language. It's too restrictive and will never be as compatible as JSX. Don't get…
novoreorx on HN
Requests
Live reload and faster recompilation
From 2 comments
I love this! I have been working on something similar recently [1] and it is exciting to think about the possibility of building full stack components for the web that are not…
breadchris on HNHaha we kind of have the same vision. That's eventually what I want to turn htmgo into, something like rails, but as minimal as it can be (essentially plugins, good defaults but…
maddalax on HN
Better IDE support
From 1 comment
I do also like the idea behind templ, only issue is when I tried to use it, the DX was pretty poor on Jetbrains IDE’s. I think the LSP is broken for it
maddalax on HN
Questions
How client-side interactivity is handled
From 1 comment
How do you handle client side interactivity? I’m probably an outlier, but all the JS I write is client side, and I sure wish I had a typed language to use in development.
jmole on HN
Whether it works with Gin or other Go frameworks
From 1 comment
interesting idea, can it be used with Gin or any other Go web framework - or is that not just the html templating library but a framework on its own? There were a few typos in…
TripleChecker on HN
Alternatives named
gomponents
From 2 comments
> I still don't understand the idea of reinventing HTML in another language. I switched from using golang templates with hand-crafted HTML to gomponents[1] a few months ago, and…
gwd on HNgomponents look better; at least the `h.` prefix could be omitted. Also, it serves a simpler purpose than htmgo. What do you think about https://templ.guide/? To me, the ability…
novoreorx on HN
templ
From 2 comments
gomponents look better; at least the `h.` prefix could be omitted. Also, it serves a simpler purpose than htmgo. What do you think about https://templ.guide/? To me, the ability…
novoreorx on HNhtmx + Templ (https://templ.guide/) is something I'm really enjoying as a replacement for React in my personal projects.
OccamsMirror on HN
FastHTML
From 2 comments
Welp, another fasthtml project. I still don't understand the idea of reinventing HTML in another language. It's too restrictive and will never be as compatible as JSX. Don't get…
novoreorx on HNI compare this project to FastHTML for two reasons: 1. They both invented a DSL to write HTML in a functional way. 2. They both integrate with HTMX to provide interactivity. This…
novoreorx on HN
Phlex
From 1 comment
Phlex (https://phlex.fun), but I don't know about the 'widely' part.
pmdr on HN