I love the idea! I could imagine something similar created for other languages too. Perhaps written in a way that a template could be reused i, let's say Django, and a JS React frontend. With all the type-safety that tsx provides.
dnautics•16m ago
This is sort of halfway between tsx and Elixir's EEx
fergie•19m ago
W3C: Why can't we just have <includes src="./header.html"> and be done with it?
slopinthebag•55m ago
sroerick•37m ago
asimovDev•26m ago
slopinthebag•23m ago
this is rsx, but there are other macros that look just like html. i prefer this though, it's much more compact and readable imo
dnautics•16m ago
That's not HTML though, you have to learn a whole new dsl that must conform to rust parser rules. So, not the same thing at all.
josephg•6m ago