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

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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