40 points | by jackielii 3 hours ago ago
3 comments
How does this compare to templ and templui? I see from the docs that gsx is templ compatible.
And why does this depend on node / npx? Something to do with the JSX syntax and parsing?
I wish go std templates were more ergonomic for components.
Past that I wish projects like templ or GSX have a simple go generate pipeline, and support html and text/markdown output including whitespace.
Until then I have a Frankenstein of a bunch of templating.
GSX seems interesting but I donβt understand why it depends on the node ecosystem. I just want to use Go for everything.
Looks good. I normally package a webui up with vite and serve that but I'll keep this in mind
How does this compare to templ and templui? I see from the docs that gsx is templ compatible.
And why does this depend on node / npx? Something to do with the JSX syntax and parsing?
I wish go std templates were more ergonomic for components.
Past that I wish projects like templ or GSX have a simple go generate pipeline, and support html and text/markdown output including whitespace.
Until then I have a Frankenstein of a bunch of templating.
GSX seems interesting but I donβt understand why it depends on the node ecosystem. I just want to use Go for everything.
Looks good. I normally package a webui up with vite and serve that but I'll keep this in mind