Comment

Comment by pauleveritt

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.

parent pauleveritt 10 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton