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.