#virtual #dom #node #element

mt-dom

A library for generating patches as a result diffing virtual DOM tree

41 releases (20 breaking)

0.21.1 Sep 21, 2022
0.20.0 Jul 16, 2022
0.19.3 Mar 25, 2022
0.12.3 Sep 8, 2021
0.3.0 Jul 28, 2020

#531 in Rust patterns

Download history 408/week @ 2022-08-15 497/week @ 2022-08-22 419/week @ 2022-08-29 608/week @ 2022-09-05 679/week @ 2022-09-12 1103/week @ 2022-09-19 1218/week @ 2022-09-26 678/week @ 2022-10-03 719/week @ 2022-10-10 604/week @ 2022-10-17 500/week @ 2022-10-24 666/week @ 2022-10-31 826/week @ 2022-11-07 737/week @ 2022-11-14 532/week @ 2022-11-21 454/week @ 2022-11-28

2,616 downloads per month
Used in 25 crates (2 directly)

MIT license

86KB
2K SLoC

mt-dom

mt-dom is a generic virtual dom implementation which doesn't specify the types of the data that is being processed. It's up to the library user to specify those types

The goal of this library is to provide virtual dom diffing functionality and return a portable patches which the user can then use to apply those patches in their respective UI elements.

mt-dom is not limited to be used in html base virtual-dom implementation, but can also be use for native UI elements.

License: MIT


lib.rs:

mt-dom is a generic virtual dom implementation which doesn't specify the types of the data that is being processed. It's up to the library user to specify those types

The goal of this library is to provide virtual dom diffing functionality and return a portable patches which the user can then use to apply those patches in their respective UI elements.

mt-dom is not limited to be used in html base virtual-dom implementation, but can also be use for native UI elements.

Dependencies

~87KB