Skip to content

Commit 407c243

Browse files
committed
updated README with some info and link
1 parent 1a4e564 commit 407c243

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ A **Fast & Light Virtual DOM Alternative** available for [Node.js](https://viper
1414
[![Greenkeeper badge](https://badges.greenkeeper.io/WebReflection/hyperHTML.svg)](https://greenkeeper.io/) ![Blazing Fast](https://img.shields.io/badge/speed-blazing%20🔥-brightgreen.svg)
1515

1616
- - -
17+
18+
Following an overview of projects related, or inspired by, _hyperHTML_. For a deep comparison of current libraries, feel free to [check this gist out](https://gist.github.com/WebReflection/761052d6dae7c8207d2fcba7cdede295).
19+
20+
21+
## <em>µ</em>html
22+
23+
The latest, smallest, iteration of all best concept from this library since 2017, have been packaged in _~2.5K_. If it's extreme minimalism and great _DX_ that you are after, check [uhtml](https://github.com/WebReflection/uhtml#readme) out.
24+
25+
1726
## hypersimple
1827

1928
If you've just started with template literals based projects and you like components, or you'd like to understand what's _hyperHTML_ capable of, give [hypersimple](https://github.com/WebReflection/hypersimple#readme) a try 🎉
@@ -68,19 +77,6 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR
6877

6978
- - -
7079

71-
### Seamlessly Isomorphic
72-
No matter if you use ESM or CommonJS, you can use [hypermorphic](https://github.com/WebReflection/hypermorphic#hypermorphic-)
73-
to load same features on both client and server.
74-
75-
```js
76-
// ESM example (assuming bundlers/ESM loaders in place)
77-
import {bind, wire} from 'hypermorphic';
78-
79-
// CommonJS example
80-
const {bind, wire} = require('hypermorphic');
81-
```
82-
83-
- - -
8480

8581
### V2.5 Highlights
8682
* `<self-closing />` tags for both custom elements and any other as well 🎉
@@ -102,6 +98,9 @@ Following most important changes in version 2:
10298

10399
A proper documentation full of examples can be found in [viperhtml.js.org](https://viperhtml.js.org/).
104100

101+
**Please Note** that _viperHTML_ has been deprecated, so it doesn't grant 100% features parity anymore.
102+
103+
105104
## Basic Example
106105
The easiest way to describe `hyperHTML` is through [an example](https://webreflection.github.io/hyperHTML/test/tick.html).
107106
```js

test/basic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<script>
1212
this.onload = function () {
1313
'use strict';
14-
document.body.appendChild(hyperHTML.wire()`<div class="block__element${Math.random() < .5 ? '--modifier' : ''}">asd</div>`);
14+
document.body.appendChild(hyperHTML.wire()(['<input id="delay" type="number" .value="','">'], 0));
1515
};
1616
</script>
1717
</head>

0 commit comments

Comments
 (0)