3 unstable releases
new 0.2.0-alpha.2 | Apr 25, 2024 |
---|---|
0.2.0-alpha.1 | Apr 24, 2024 |
0.1.0 | Apr 10, 2024 |
#470 in Game dev
159 downloads per month
32KB
281 lines
Reactive UI framework for Bevy
fn app() -> impl Compose {
lazy(|mut count: UseState<i32>| {
let (mut count, _count_entity) = count.use_state(|| 0);
dbg!(*count);
*count += 1;
})
}
fn main() {
bevy_compose::run(app);
}
Inspiration
This crate is inspired by Xilem, Concoct and SwiftUI with its typed approach to reactivity.
Dependencies
~18–47MB
~734K SLoC