#javascript #dom #reactive #signal #frp

dominator

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

52 releases

0.5.34 Aug 25, 2023
0.5.33 Jun 2, 2023
0.5.32 Feb 3, 2023
0.5.31 Oct 9, 2022
0.1.1 Mar 18, 2018

#1289 in WebAssembly

Download history 446/week @ 2023-11-02 331/week @ 2023-11-09 493/week @ 2023-11-16 490/week @ 2023-11-23 495/week @ 2023-11-30 324/week @ 2023-12-07 421/week @ 2023-12-14 460/week @ 2023-12-21 373/week @ 2023-12-28 488/week @ 2024-01-04 501/week @ 2024-01-11 927/week @ 2024-01-18 636/week @ 2024-01-25 450/week @ 2024-02-01 757/week @ 2024-02-08 954/week @ 2024-02-15

3,008 downloads per month
Used in 4 crates

MIT license

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

~10MB
~201K SLoC