Skip to content

Releases: developit/htm

2.1.1

28 Feb 23:00
Compare
Choose a tag to compare

A couple of building and publishing related fixes:

  • Fix htm/mini build commands, it's now as mini as it is supposed to be.
  • Fix package.json so that htm/react gets included to the published package.

2.1.0

25 Feb 20:26
Compare
Choose a tag to compare

@jviide rewrote htm again and again until it was perfect. as a result, it is now perfect.

🗜New babel-plugin-transform-jsx-to-htm: transpile JSX to HTM
❰❱ Support for multiple root Elements (fragments)
🥽Switch to a VM from eval: no more CSP issues!
🐣New htm/mini version: <400 bytes for a slight perf hit
🥾Export { Component } from htm/preact and standalone

2.0.0

20 Dec 20:43
Compare
Choose a tag to compare

🎉 HTM 2.0 is here!

We've rebuilt HTM from the ground up for performance and size, with a brand new custom JSX parser.

What does that mean for you?

  • HTM is now 20 times faster
  • ... and 10% smaller
  • ... and runs anywhere (native SSR!)
  • the syntax is now as close as possible to JSX
  • 20% faster caching
  • more optimized output

Welcome Joachim!

HTM has a new core contributor, @jviide. His incredible work made this release possible.
You can find him tweeting about crazy networking stuff.

Babel Plugin, too!

The Babel plugin got an overhaul too! It's 1-2 orders of magnitude faster, no longer requires JSDOM, and has new options to customize output.

This update also fixes a number of issues relating to caching, edge cases and whitespace handling.

New Syntax?

Yes, but don't worry. Now when you're writing HTM, you're basically writing JSX.
There are only two things you have to remember:

  1. components like <Foo> are written as <${Foo}>
  2. fields like {a} are written as ${a}

Everything else is the same as JSX.

1.0.0

21 Nov 01:34
Compare
Choose a tag to compare

Initial release!

0.5.1

30 Jul 19:52
Compare
Choose a tag to compare

it definitely works.

first release

30 Jul 19:25
Compare
Choose a tag to compare
Title

Description