Releases: developit/htm
2.1.1
2.1.0
@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
🎉 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:
- components like
<Foo>
are written as<${Foo}>
- fields like
{a}
are written as${a}
Everything else is the same as JSX.
1.0.0
0.5.1
first release
Title Description