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.
Macil
joined 1 year ago
You can use Electron or Tauri to make an executable out of a web page.