virtualviewdom

a virtual view transaction renderer for the dom

Build Examples

bash $ cargo install -f cargo-web bash $ make

Counter Example

```rust extern crate serde_json; extern crate stdweb;

[macro_use]

extern crate virtualview; extern crate virtualview_dom;

use stdweb::web::{document, IEventTarget, INonElementParentNode}; use virtualview::{Children, Component, EventManager, Instance, Prop, Props, Renderer, Updater, View}; use virtualview_dom::{Handler, Patcher, TransactionEvent};

struct Button;

impl Component for Button { fn render(&self, _: &Instance, props: &Props, children: &Children) -> View { view! {