#javascript #dom #reactive #signal #frp

dominator

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

48 releases

0.5.30 Sep 10, 2022
0.5.28 Jul 16, 2022
0.5.23 Dec 9, 2021
0.5.22 Oct 25, 2021
0.1.1 Mar 18, 2018

#511 in WebAssembly

Download history 681/week @ 2022-06-11 316/week @ 2022-06-18 639/week @ 2022-06-25 355/week @ 2022-07-02 817/week @ 2022-07-09 740/week @ 2022-07-16 708/week @ 2022-07-23 418/week @ 2022-07-30 576/week @ 2022-08-06 653/week @ 2022-08-13 602/week @ 2022-08-20 582/week @ 2022-08-27 995/week @ 2022-09-03 742/week @ 2022-09-10 789/week @ 2022-09-17 240/week @ 2022-09-24

2,940 downloads per month
Used in dominator_helpers

MIT license

140KB
3.5K 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.5MB
~186K SLoC