Crates.io | sycamore-reactive |
lib.rs | sycamore-reactive |
version | 0.9.0 |
source | src |
created_at | 2021-09-12 18:44:58.530321 |
updated_at | 2024-11-01 16:24:19.929385 |
description | Reactive primitives for Sycamore |
homepage | https://github.com/sycamore-rs/sycamore |
repository | https://github.com/sycamore-rs/sycamore |
max_upload_size | |
id | 450165 |
size | 112,414 |
Sycamore is a reactive library for creating web apps in Rust and WebAssembly.
#[component]
fn Hello() -> View {
view! {
p { "Hello World!" }
}
}
Sycamore is extensively documented:
sycamore
crate.Still have questions? Don't hesitate to stop by our friendly Discord server.
Sycamore has many examples for your reference in the
examples/
directory. Be sure to
check them out!
sycamore-rs.netlify.app
All the examples are hosted under examples.sycamore.dev/<example_name>
with
<example_name>
being the name of the example you want to view. For instance, the todomvc
example
is hosted on
examples.sycamore.dev/todomvc
.
All the examples can also be built locally using Trunk. For instance, the
following command builds and serves the todomvc
example:
cd examples/todomvc
trunk serve
Now open up localhost:8080
in your browser to see "Hello World!".
Perseus is a fullstack framework built with Sycamore. Think NextJS or SvelteKit but with no JavaScript. Everything from backend to frontend is built with pure Rust!
Don't think Sycamore is for you? Thankfully, there are plenty of alternatives!
Sycamore would not have been possible without the wonderful contributions from the community. Thank you!
Special thanks to @nate-sys for designing the Sycamore logo!