News for hackers. Stuff that matters.
Re:Show HN: Use Go's HTML/template to write React-like code by kissgyorgy on Monday May 27, 2024 @11:23AM (#40491597)
I like the experimentation, but it's still using templates. I was hoping something pure-Go code components without any template rendering at all.

I was trying to do the same React-like Component framework, but for Python. No templates needed, you write 100% Python code. Here are some examples how it looks like for simple components: https://github.com/kissgyorgy/compone/tree/master/core/examp...

I use it in a Django project everywhere, no template rendering for custom views!

Re:Show HN: Use Go's HTML/template to write React-like code by pelme on Monday May 27, 2024 @11:44AM (#40491852)
We have been doing something similar with https://htpy.dev the last ~6 months.