Comment by pauleveritt

2 months ago

As an FYI, I'm with the template strings folks (new feature in 3.14) and we're building an HTML system around the idea of JSX-style components as callables, but with actual strings of HTML. Check our <a href="https://t-strings.github.io/tdom/usage/components.html">components page</a> for more detail.

With template strings, the symbols in the HTML string a just like Python code. Static analysis tooling can step in and do things.

We have ambitions to start an interoperability movement in Python HTML, so htpy and tdom could agree on a common Node structure.