#virtual #dom #wasm #assembly #webassembly

virtual-dom-rs

A standalone Virtual DOM creation, diffing and patching implementation

26 releases

0.6.14 Jun 2, 2020
0.6.12 Jan 21, 2020
0.6.10 Jul 28, 2019
0.6.7 Mar 16, 2019
0.0.1 Jul 25, 2018

#213 in WebAssembly

Download history 100/week @ 2020-06-04 30/week @ 2020-06-11 131/week @ 2020-06-18 231/week @ 2020-06-25 165/week @ 2020-07-02 151/week @ 2020-07-09 145/week @ 2020-07-16 165/week @ 2020-07-23 59/week @ 2020-07-30 114/week @ 2020-08-06 36/week @ 2020-08-13 57/week @ 2020-08-20 56/week @ 2020-08-27 120/week @ 2020-09-03 46/week @ 2020-09-10 30/week @ 2020-09-17

444 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

~8MB
~160K SLoC