#virtual #dom #wasm #assembly #webassembly

virtual-dom-rs

A standalone Virtual DOM creation, diffing and patching implementation

24 releases

✓ Uses Rust 2018 edition

0.6.12 Jan 21, 2020
0.6.10 Jul 28, 2019
0.6.7 Mar 16, 2019
0.4.1 Dec 1, 2018
0.0.1 Jul 25, 2018

#57 in WebAssembly

Download history 76/week @ 2019-10-15 279/week @ 2019-10-22 25/week @ 2019-10-29 35/week @ 2019-11-05 27/week @ 2019-11-12 47/week @ 2019-11-19 77/week @ 2019-11-26 46/week @ 2019-12-03 170/week @ 2019-12-10 7/week @ 2019-12-17 50/week @ 2019-12-24 3/week @ 2019-12-31 60/week @ 2020-01-07 113/week @ 2020-01-14 37/week @ 2020-01-21

311 downloads per month
Used in router-rs

MIT/Apache

59KB
1K SLoC

virtual-dom-rs

A standalone Virtual DOM creation, diffing and patching implementation


lib.rs:

virtual-dom-rs provides a virtual dom implementation as well as an html! macro that you can use to generate a virtual dom.

The virtual dom works on both the client and server. On the client we'll render to an HtmlElement, and on the server we render to a String.

Dependencies

~1.5–2MB
~34K SLoC