#virtual-dom #dom #virtual #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

#1330 in WebAssembly

Download history 8/week @ 2024-03-11 7/week @ 2024-03-18 21/week @ 2024-04-01 5/week @ 2024-04-22 1/week @ 2024-05-27

94 downloads per month
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–8.5MB
~170K SLoC