1.1.0 • Published 5 years ago
panda-vdom-esm v1.1.0
Panda VDOM
VDOM helpers for writing direct VDOM-based templates. Based on the excellent diffHTML library behind the scenes.
import {HTML} from "../src/index"
{render, html, body, h1} = HTML
assert.equal "<html><body><h1>Hello, World!</h1></body></html>",
render html [
body [
h1 "Hello, World!"
]
]
Installation
npm i panda-vdom
1.1.0
5 years ago