GitShow/developit/htm
developit

htm

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

by developit
babelbabel-pluginjsxtagged-templatevirtual-dom
Star on GitHubForknpm

JavaScript

9.0k stars179 forks31 contributorsQuiet · 2y agoSince 20183.1.1Apache-2.0

Meet the team

See all 31 on GitHub →
developit
developit218 contributions
jviide
jviide142 contributions
marvinhagemeister
marvinhagemeister6 contributions
blikblum
blikblum5 contributions
styfle
styfle4 contributions
surma
surma3 contributions
vikerman
vikerman2 contributions
SaraVieira
SaraVieira2 contributions

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · Last activity 2y ago
See all on GitHub →
sarthakdapke
SarthakOpenIssue
sarthakdapke · 8mo ago
jakelazaroff
Add noNullProps optionOpenPR

Since TypeScript can't typecheck tagged template strings, I've been compiling my code using babel-plugin-htm and running TypeScript on the output. That works pretty well, with one big exception: omitting the props entirely passes rather than an empty object: 's type signature allows to be used in place of any props object, which means the preceding code works fine: This PR introduces a option to the Babel plugin, which if set to passes an empty object instead of when there are no props.

jakelazaroff · 11mo ago
rozek
just a small note: standalone bundle of htm with preact and preact/signalsOpenIssue

First of all: thank you very much for this marvelous package! For my personal needs, however, I "had" to bundle not only with but also with - which surprisingly worked out-of-the-box. However, I won't open a pull request as this "enhancement" does not add any new functionality but just makes the import a bit more convenient... Of course, you may close this "issue" whenever you like.

rozek · 1y ago

Recent fixes

View closed PRs →
peter-jerry-ye
Question: esm.sh hash changeClosedIssue

Hi. I was using this project with deno through https import. I got this error today: My question is, is this expected behavior?

peter-jerry-ye · 7mo ago
Structured data for AI agents

Repository: developit/htm. Description: Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support. Stars: 9033, Forks: 179. Primary language: JavaScript. Languages: JavaScript (100%). License: Apache-2.0. Topics: babel, babel-plugin, jsx, tagged-template, virtual-dom. Latest release: 3.1.1 (4y ago). Open PRs: 8, open issues: 41. Last activity: 2y ago. Community health: 71%. Top contributors: developit, jviide, marvinhagemeister, blikblum, styfle, surma, vikerman, SaraVieira, mathiasbynens, artisonian and others.

·@ofershap

Replace github.com with gitshow.dev