#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

#745 in WebAssembly

Download history 15/week @ 2022-10-08 8/week @ 2022-10-15 12/week @ 2022-10-22 23/week @ 2022-10-29 23/week @ 2022-11-05 18/week @ 2022-11-12 21/week @ 2022-11-19 12/week @ 2022-11-26 12/week @ 2022-12-03 21/week @ 2022-12-10 42/week @ 2022-12-17 18/week @ 2022-12-24 12/week @ 2022-12-31 10/week @ 2023-01-07 9/week @ 2023-01-14 28/week @ 2023-01-21

62 downloads per month
Used in router-rs

MIT/Apache

100KB
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

~8MB
~157K SLoC