Hacker News new | ask | show | jobs
by sunfmin 1478 days ago
Similar thing in Go: https://github.com/theplant/htmlgo
1 comments

The difference is that maud does most of the work compile-time, so `html! { div { "foo" } }` compiles into literal "<div>foo</div>" hardcoded in the program, without allocating intermediate HTMLTagBuilder objects.
Another difference is htmlgo is just plain Go, no macros. So it plays nice with IDEs and other tooling.