Re:Show HN: Mizu.js – Lightweight HTML templating library fo...
by mdhb on Friday December 20, 2024 @01:56AM
(#42468892)
I’m so glad you’re still working on this, I hadn’t seen any updates in the repo lately and wasn’t sure if you changed focus areas or something.
Re:Show HN: Mizu.js – Lightweight HTML templating library fo...
by spankalee on Friday December 20, 2024 @08:21AM
(#42470858)
Thanks. I'm working on a few things. I'll get back to Heximal soon!
I'm working on a somewhat similar system called Heximal. It focuses on adding full-fledged templating to the <template> element, and full declarative component definitions to HTML, plus some built-in custom elements like <h-var>, <h-out>, <h-scope>, <h-include>, and <h-fetch> that make HTML more of a declarative programming language.
A big difference from HTMX is that it doesn't rely on magic attributes, but instead adds full data-binding with rich expressions for any attribute or text content, and control flow, to <template>. And component definitions include defining properties, attributes, styles, etc.
These things are being proposed for HTML, so Heximal is somewhat of a polyfill for HTML from the future. Or it's a bit like Tangle or Curvenote.
https://github.com/elematic/heximal/