#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

#1284 in WebAssembly

Download history 12/week @ 2024-09-18 46/week @ 2024-09-25 28/week @ 2024-10-02 5/week @ 2024-11-06 23/week @ 2024-11-13 20/week @ 2024-11-20 1/week @ 2024-11-27 33/week @ 2024-12-04 37/week @ 2024-12-11

70 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

~7.5–10MB
~183K SLoC