4 ms·
I’m gonna be a hipster by saying I was using Htmx (and its predecessor intercooler) before it was cool. I really wouldn’t think of specifically using Htmx to bu
by dinkleberg 3y ago
I’m gonna be a hipster by saying I was using Htmx (and its predecessor intercooler) before it was cool. I really wouldn’t think of specifically using Htmx to build your app. You use server side template rendering and then you sprinkle htmx on top to make it a bit nicer.
My preferred stack is server rendered go. I’ve traditionally used pongo2 for templates since they are nicer than standard go templates imo. But I’ll be trying out templ on my next project.
But whether you use go, Django, rails, laravel, whatever, if you’re doing traditional server rendering rather than the SPA or modern “full stack” framework, you’ll have a better time. And this is coming from someone who actually likes using SPA frameworks for interactivity. But managing client and server side state is so much more complex.
- thrwwycbr 3y agoI am currently learning golang and HTMX. Do you have maybe some good example projects that a newbie like me can take a look at, which implements best practices? Any advice for potential pitfalls?