News for hackers. Stuff that matters.
Re:Show HN: htmgo - build simple and scalable systems with g... by OccamsMirror on Sunday September 29, 2024 @01:03AM (#41685049)
htmx + Templ (https://templ.guide/) is something I'm really enjoying as a replacement for React in my personal projects.
Re:Show HN: htmgo - build simple and scalable systems with g... by maddalax on Sunday September 29, 2024 @01:14AM (#41685095)
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
Re:Show HN: htmgo - build simple and scalable systems with g... by chabad360 on Sunday September 29, 2024 @02:00AM (#41685244)
That's actually something I've been slowly working on. There's a bug in the go parser tho that kinda slowed things down a lot.
Re:Show HN: htmgo - build simple and scalable systems with g... by kosmozaut on Sunday September 29, 2024 @04:42AM (#41685848)
I'm kind of in the same boat (but with VSCode). In addition to that, I found that it didn't make things too much easier than something like MVC with built-in template/html. The context integration seems like a huge footgun, since it just panics if you access a value that doesn't exist.
Re:Show HN: htmgo - build simple and scalable systems with g... by jonathrg on Sunday September 29, 2024 @08:44AM (#41686964)
There is definitely a problem with the LSP. I've resorted to turning off the templ extension in VS Code, syntax highlighting and all.