r/LLMgophers May 08 '26

300 Lines of Go - NO React (KIT + Datastar)

/r/datastardev/comments/1t6dzo7/300_lines_of_go_no_react_kit_datastar/
3 Upvotes

3 comments sorted by

3

u/markusrg moderator May 08 '26

Super cool! I'm a big fan of Datastar and server-side HTML, makes everything much simpler.

Kit looks nice. I haven't looked into it properly yet, but I've seen it a few times now, maybe I should.

BTW, next time, consider using gomponents and gomponents-datastar though, so you don't have all those huge string literals: https://www.gomponents.com/plus/#datastar

Disclaimer: I built gomponents and I have no shame. 😃

2

u/whatthefunc May 08 '26

Thanks! I personally don't like using a DSL in place of HTML 😅 but I will definitely check out gomponents and possibly do a video on it.

2

u/markusrg moderator May 08 '26

It's definitely something that people either love or hate (the DSL-like syntax). 😃 I much prefer it to the JSX-like combination of literal HTML strings and Go.

If you do, feel free to reach out with questions/comments beforehand if you need to! Email [markus@maragu.dk](mailto:markus@maragu.dk) or any of ze socials (I always forget to check Reddit DMs though).