Skip to content

🍃 A fine-grained reactive framework.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

loichyan/xframe

Repository files navigation

🍃 xFrame

A reactive system to build fine-grained reactive applications.

✍️ Example

use xframe::*;

create_root(|cx| {
    let state = cx.create_signal(1);

    let double = cx.create_memo(move || *state.get() * 2);
    assert_eq!(*double.get(), 2);

    state.set(2);
    assert_eq!(*double.get(), 4);

    state.set(3);
    assert_eq!(*double.get(), 6);
});

💭 Insipired by

Please check out these awesome works that helped a lot in the creation of xframe:

  • sycamore-rs/sycamore: A library for creating reactive web apps in Rust and WebAssembly.
  • gbj/leptos: A full-stack, isomorphic Rust web framework leveraging fine-grained reactivity to build declarative user interfaces.

⚖️ License

Licensed under either of

at your option.

About

🍃 A fine-grained reactive framework.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published