0.1.0 • Published 10 years ago

xs-dom v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 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

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago