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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1e9cf77 Β· Jan 26, 2023
Jan 9, 2023
Jan 26, 2023
Jan 26, 2023
Oct 27, 2022
Dec 10, 2022
Oct 28, 2022
Dec 24, 2022
Oct 28, 2022
Oct 28, 2022
Dec 2, 2022
Dec 22, 2022
Dec 11, 2022

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