rust-dominator/README.md

37 lines
1.5 KiB
Markdown
Raw Normal View History

2021-09-01 13:31:43 -04:00
[![crates.io](https://img.shields.io/crates/v/dominator.svg)](https://crates.io/crates/dominator)
2020-04-09 17:40:56 -04:00
[![docs.rs](https://docs.rs/dominator/badge.svg)](https://docs.rs/dominator)
2021-04-29 19:36:07 -04:00
Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
2021-04-29 19:39:59 -04:00
Overview
========
2018-10-30 05:06:22 -04:00
2021-04-29 19:55:23 -04:00
Dominator is one of the fastest DOM frameworks in the world ([it is just as fast as Inferno][benchmark]).
2021-04-30 08:44:38 -04:00
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.
2021-04-29 19:36:07 -04:00
2021-04-30 13:40:04 -04:00
It has a convenient high level declarative API which works similar to React components, but is
2021-04-30 13:37:27 -04:00
designed for Rust and FRP signals.
2021-04-29 19:36:07 -04:00
2018-10-30 05:06:22 -04:00
It is generally feature complete, though more convenience methods might be added over time.
2021-04-29 19:27:57 -04:00
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.
2018-12-21 06:29:44 -05:00
Running the examples
====================
Just do `yarn` and then `yarn start` (it will take a while to compile the dependencies, please be patient)
2020-05-31 05:47:31 -04:00
Community
=========
2020-05-31 05:59:29 -04:00
We have a [Discord server](https://discord.gg/fDFGvnR). Feel free to ask any Dominator questions there.
2021-04-29 19:27:57 -04:00
[benchmark]: https://rawgit.com/krausest/js-framework-benchmark/master/webdriver-ts-results/table.html