0.1.0 • Published 8 years ago

xs-dom v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

xs-dom

A virtual-dom library tailored to Cycle.js

Want to try this stuff out?

$ npm install xs-dom

Basic usage

import {init, h} from 'xs-dom'
import styles from 'xs-dom/lib/module/style'
import klass from 'xs-dom/lib/module/classes'

const rootElement = document.querySelector('#app')
const xsdom = init([styles, klass], rootElement)

const view = h('div', {}, [ h('h1', 'Hello World!') ])

xsdom.patch(view)

This has started a fork of snabbdom to TypeScript, but will continue to evolve into a more and more specific solution for Cycle.js. No priority will be given to it working outside of Cycle.js (though it may still work in other places).

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago