#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

#74 in WebAssembly

Download history 529/week @ 2024-08-14 417/week @ 2024-08-21 317/week @ 2024-08-28 361/week @ 2024-09-04 388/week @ 2024-09-11 401/week @ 2024-09-18 471/week @ 2024-09-25 417/week @ 2024-10-02 751/week @ 2024-10-09 862/week @ 2024-10-16 945/week @ 2024-10-23 956/week @ 2024-10-30 672/week @ 2024-11-06 646/week @ 2024-11-13 1087/week @ 2024-11-20 1632/week @ 2024-11-27

4,185 downloads per month
Used in 11 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

~12MB
~215K SLoC