Very basic virtual-dom implementation
Features
Support of following patch types:
PATCH_CREATE
PATCH_REMOVE
PATCH_REORDER
PATCH_PROPS
- Small amount of diffing iterations
- Referal based patches without identifiers
- No iterations over the virtual or dom tree when applying patches
Seems like it has not so bad memory usage and rendering performance
Example
Simple day countdown example
/** @jsx h */ ; var initialDom = <div> <div><h3>Counter</h3></div> </div>; document ; ;
TODO
- test browser support
License
MIT (c) Svetlana Linuxenko