#virtual-dom #assembly

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

#1058 in WebAssembly


Used in router-rs

MIT/Apache

105KB
2K 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

~6.5–9MB
~172K SLoC