hyperHTML | lit-html | |
---|---|---|
released | March 2017 | August 2017 |
version | 2.5.0 | 0.7.1 |
license | ISC | BSD 3-Clause License |
compatibility template literals | Edge 13+, FF 34+, CH 41+, SF 9.1+, iOS 9.2+ | 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 | IE11/Edge, FF 55+, CH (CH for Android), SF 9+, iOS 9+ library and template literals |
tests | ||
size | 4.8k brotli - transpiled and usable as script | 2.2k unbundled ESM + extended 1.6k + repeat 1.6k |
code style | ES2015 Module bundled/compatible with ESM, CJS and ES3 |
TypeScript / ES2015 Module not pre bundled |
β‘οΈ BASIC FEATURES | ||
production ready π | β | |
no transpilers π | β | |
no polyfills π | β | |
self closing tags π | β | |
smart parser: once per template literal π | β | β |
secure text by default π | β | β |
composable π | β | β |
extensible π | β | β |
asynchronous π | β | β |
components π | β | |
β‘οΈ ATTRIBUTES | ||
smart attributes π | β | |
smart style attribute π | β | |
regular attributes π | β | β |
boolean attributes π | β | |
special attributes π | β | |
events attributes π | β | |
attribute w/out quotes π | β | β |
partial attributes π | β | |
β‘οΈ CONTENT | ||
smart diffing π | β | |
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
June 29, 2018 15:32
-
-
Save ExE-Boss/ca044a52821b8ae46a6e75ccc851a302 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