rue-core 0.1.0

A Vue 3-like reactive UI framework for building web applications in Rust/WASM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod reactive;
pub mod node;
pub mod app;
pub mod component;

// Re-export the most commonly used types
pub use reactive::{Signal, signal, Computed, computed, Effect, effect};
pub use node::VNode;
pub use component::Component;
pub use app::{App, mount};

/// Initialize the framework (call this at the start of your main).
pub fn init() {
    console_error_panic_hook::set_once();
}

// Re-export JsValue for convenience
pub use wasm_bindgen::JsValue;