Hacker GitHub

← All repos

developit/htm

View on GitHub ↗ ★ 9,050 JavaScript

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

58 mentions on Hacker News by 44 people: 6 stories, 52 comments · first 2018-11-21 · latest 2026-08-05

Mentions per year 58 mentions · busiest year 2020 (15)
20082026
  1. …tagged string. Which is painfully obvious when you actually look at the implementations of HTM: https://github.com/developit/htm/blob/master/src/index.mjs#L... or lit-html: https://github.com/Polymer/lit-html/blob/master/src/lib/temp...
  2. …they "work as code" and "have support to optimize it, compile it, etc."? Here's HTM's main function https://github.com/developit/htm/blob/master/src/index.mjs#L... It: concatenates strings, parses (via regexes), then concatenates again.…