#dom #frp #reactive #signal

dominator

Zero-cost ultra-high-performance declarative DOM library using FRP signals

56 releases

0.5.38 Aug 22, 2024
0.5.36 Jul 28, 2024
0.5.34 Aug 25, 2023
0.5.33 Jun 2, 2023
0.1.1 Mar 18, 2018

#75 in WebAssembly

Download history 730/week @ 2024-08-01 451/week @ 2024-08-08 518/week @ 2024-08-15 419/week @ 2024-08-22 327/week @ 2024-08-29 360/week @ 2024-09-05 415/week @ 2024-09-12 399/week @ 2024-09-19 463/week @ 2024-09-26 510/week @ 2024-10-03 745/week @ 2024-10-10 912/week @ 2024-10-17 892/week @ 2024-10-24 901/week @ 2024-10-31 703/week @ 2024-11-07 608/week @ 2024-11-14

3,307 downloads per month
Used in 6 crates

MIT license

190KB
4K SLoC

crates.io docs.rs

Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!

Overview

Dominator is one of the fastest DOM frameworks in the world (it is just as fast as Inferno).

It does not use VDOM, instead it uses raw DOM nodes for maximum performance. It is close to the metal and has almost no overhead: everything is inlined to raw DOM operations.

It scales incredibly well even with very large applications, because updates are always O(1) time, no matter how big or deeply nested your application is.

It has a convenient high level declarative API which works similar to React components, but is designed for Rust and FRP signals.

It is generally feature complete, though more convenience methods might be added over time.

It is quite stable: breaking changes are very rare, and are handled with the normal semver system.

I have successfully used Dominator on multiple large applications, and it performed excellently.

Running the examples

Just do yarn and then yarn start (it will take a while to compile the dependencies, please be patient)

Community

We have a Discord server. Feel free to ask any Dominator questions there.

Dependencies

~9–11MB
~211K SLoC