0.0.2 • Published 5 years ago

podeem v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Podeem

A small libary for writing high performance Web UIs.

Based on the excellent work in stage0.

Usage

import h from 'podeem'

// Define the template
const View = h`<div>
  <h1>#message</h1>
  <button #greet>Greet</button>
</div>`

const view = View() // create a DOM node using the template above

const { message, greet } = View.collect(view)
message.nodeValue = 'Hello World'
greet.__click = () => alert('Hello')

document.body.appendChild(view)

Features

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago