htonjs
v0.0.7
Published
simple js library for html
Maintainers
Readme
HTON
simple & lightweight html render
Usage
<div id="app">Hello {text}</div>import { create } from "htonjs";
create((state) => {
setTimeout(() => {
state.text = "hello world";
}, 1000);
return {
text: "hello",
};
}).mount(document.querySelector("#app"));