| hyperHTML | lit-html | |
|---|---|---|
| version | 1.6.1 | 0.5.0 |
| license | ISC | BSD + Patents |
| compatibility template literals | Edge 13+, FF 34+, CH 41+, SF 9.1+, iOS 9.2+ | No IE/Edge, FF 55+, CH 41+, SF 9.1+, iOS 9.2+ |
| compatibility transpiled | IE9+ FF 34+, WK (Android 4+), CH, SF, iOS 8+ template literals only | No IE/Edge, FF 55+, CH (CH for Android), SF 9+, iOS 9+ library and template literals |
| tests | ||
| size | ~4k | ~1.7k + extended 0.5k + directives 0.6k + 0.2k + 0.1k |
| code style | ES5 compatible with ES3 | TypeScript => ES2015 Module |
| β‘οΈ BASIC FEATURES | ||
| no tarnspilers π | β | |
| smart parser: once per template literal π | β | β |
| secure text by default π | β | β |
| composable π | β | β |
| extensible π | β | β |
| asynchronous π | β | β |
| components π | β | |
| β‘οΈ ATTRIBUTES | ||
| smart attributes π | β | |
| regular attributes π | β | β |
| boolean attributes π | β | |
| special attributes π | β | |
| events attributes π | β | |
| attribute w/out quotes π | β | βΉοΈ |
| partial attributes π | β | |
| β‘οΈ CONTENT | ||
| smart content π | β | |
| reliable content π | β | |
| html content π | β | β |
| nested content π | β | β |
| repeated content π | β | β |
| SVG π | β | |
| partial Table π | β | |
| temporary content π | β | β |
| conditional content π | β | β |
| weakly referenced content π | β | |
| adoptable content π | β | |
| β‘οΈ EXTRAS | ||
| Custom Elements | HyperHTMLElement | Polymer 3 |
| SSR | viperHTML | β |
| Native | nativeHTML | β |
| BE DOM Compatibility | basicHTML, jsdom | β |
Created
September 12, 2017 20:04
-
-
Save morewry/01c0494dddf8a3d194230761091620aa to your computer and use it in GitHub Desktop.
A brief features comparison between hyperHTML and lit-html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment