rust-dominator/README.md

33 lines
1.3 KiB
Markdown
Raw Normal View History

2020-04-09 17:40:56 -04:00
[![crates.io](http://meritbadge.herokuapp.com/dominator)](https://crates.io/crates/dominator)
[![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:36:07 -04:00
Dominator is one of the fastest DOM frameworks in the world ([it is just as fast as Inferno][benchmark]),
2021-04-29 19:39:59 -04:00
and it scales incredibly well even with very large applications, because updates are `O(1)` time. It is
close to the metal and has almost no overhead.
2021-04-29 19:36:07 -04:00
Despite that, it doesn't sacrifice ergonomics: it provides a convenient high level declarative API which
feels similar to React, but is designed for Rust and FRP signals.
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