avalanche-web

Crates.ioavalanche-web
lib.rsavalanche-web
version0.1.0
sourcesrc
created_at2021-12-29 23:13:58.714261
updated_at2021-12-29 23:15:34.469905
descriptionA client-side web integration for avalanche
homepage
repositoryhttps://github.com/DJankauskas/avalanche
max_upload_size
id505086
size67,941
Darius Jankauskas (DJankauskas)

documentation

README

Avalanche

Book | Docs | Examples | Roadmap

Avalanche is a performant library for building declarative, performant UIs. It analyzes functional component definitions at compile time to generate efficient and precise app updates. It is bundled with avalanche-web, which provides facilities and components for building WebAssembly web apps. This library is in early stages of development, and should not yet be used in production.

This crate does not respect semver for 0.1.x.

How it works

Functions marked with #[component] define UI declaratively by returning other components. Component parameters and state are augmented by tracking, a system where avalanche tracks whether variables have been updated, only updating the UI for changed data. This allows for higher performance while keeping code ergonomic.

Getting started

To learn the library, we highly recommend you check out the avalanche book, which gives a primer on creating and building a web app using avalanche and avalanche web. The todomvc example is a great example app for getting a feel for basic avalanche idioms.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 359

cargo fmt