npm install htmimport { h } from "preact";import htm from "htm"; const html = htm.bind(h); export const App = () => html`<h1>Hello from HTM</h1>`;htmJSX-free tagged template syntax that pairs naturally with Preact.
Built for Preact and does not require a React compatibility layer.