htm icon indicating copy to clipboard operation
htm copied to clipboard

Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.

Results 52 htm issues
Sort by recently updated
recently updated
newest added

First of all: thank you very much for this marvelous package! For my personal needs, however, I "had" to bundle `htm` not only with `preact` but also with `preact/signals` -...

Both Vue and Alpine have this weird syntax where events get preceded by `@`. I'm using htm in a library for templating. Preact is more of an implementation detail, and...

Hi, ``` const h = (tag, props, ...children) => ({ tag, props, children }); const html = htm.bind(h); const dom = html`{}} onClick=${()=>{}}>aaa` ``` In `props`, the `onCompositionStart` becomes `true`....

I'm new to htm. I like it. I chose it because it can be used with Preact in a no-build environment, i.e. our micro-frontend app will use `https://esm.sh/htm/preact/standalone` at runtime....

Greetings, I wonder we can say htm as [ internal dsl](https://martinfowler.com/bliki/InternalDslStyle.html) like jsx?

Create Issue body { font-family: Arial, sans-serif; margin: 20px; background-color: #f5f5f5; } .issue-form { background: white; padding: 20px; max-width: 500px; margin: auto; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }...

Usaha Maju - Bisnis Profesional Anda :root { --primary-color: #007bff; --secondary-color: #6c757d; --background-color: #f8f9fa; --text-color: #343a40; --accent-color: #28a745; --light-color: #ffffff; --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } * {...

I hope TypeScript will land this - https://github.com/microsoft/TypeScript/issues/29432 - https://github.com/microsoft/TypeScript/issues/33304 - https://github.com/microsoft/TypeScript/issues/31422 - https://github.com/microsoft/TypeScript/pull/49552 sooner than later, and I also saw - https://github.com/developit/htm/issues/73 In the meantime, have there been any...

Fixes #262, add preact and react as optional peer dependencies

This module tries to import / require from `preact`, but does not declare it as a dependency in its `package.json` (a [ghost dependency](https://yarnpkg.com/features/pnp#ghost-dependencies-protection)). This is an error, [yarn requires all...