Web development is, and will always be, just a game of finding increasingly
cursedunique ways to concatenate HTML stringsOne day I’ll find a reason to use
html!
. One day.The problem is that what everybody really wants is parameterization, not concatenation. But most solutions therefor are flaky even if they exist.
All programming was intended to take place within Rust
Genuine question: what’s wrong with templating engines?
This looks like how React components are written if you make the weird choice of not using the JSX syntax extension for React elements. I wonder if you could make a JSX-like DSL with Rust macros. JSX really helps for making this kind of stuff bearable.
after a quick search … https://github.com/bodil/typed-html also leptos uses something similar