HTML templates, Rust modules
Use HTML for markup and CSS for styling. Keep component state in Rust, with ordinary imports and typed inputs.
Templates and componentsv0.1 · In development
fusor is a reactive framework for the web. Write HTML templates and native Rust modules. Compile to WebAssembly, with signals that update the DOM directly.
These are the actual source files behind this example. The HTML defines the view; the Rust module owns its state.
Use HTML for markup and CSS for styling. Keep component state in Rust, with ordinary imports and typed inputs.
Templates and componentsSignals track the bindings that read them. Changing a value updates the affected DOM nodes, with no virtual DOM reconciliation.
Signals and derived stateEffects, listeners, and async work belong to an owner. Disposing a component cleans up the work it owns.
Owners and lifetimesAn async boundary can keep the previous view visible until related reads are ready, then publish their results together.
Async boundariesThe framework is in early development and its crates are not published yet. From a repository checkout, install the CLI:
cargo install --path crates/fusor-cli --locked
Then follow the installation guide to create and run an app.
One signal. One text node.
Click to update it.
Local sample data · 250 / 1,000 ms
No rows. Add one to start again.
Type a note, then reverse the list. The note stays with its row.
No matching guides.
of 4 guides