Registry / web-framework / sycamore

sycamore

JSON →
library0.9.2rscratesunverified

Provides a library for building reactive web apps in Rust and WebAssembly.

# Cargo.toml [dependencies] sycamore = "0.9.2"
INSTALL
IMPORT
SIG · SYCAMORE
S
sycamore
web-frameworkrustv0.9.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

template
use sycamore::template;

Renders a simple reactive web page with a paragraph element using Sycamore's template macro.

use sycamore::prelude::*; fn main() { sycamore::render(|| { template! { p { "Hello, Sycamore!" } } }); }
Debug
Known issues
gotchaRequires targeting WebAssembly and using a suitable build tool like wasm-pack.
fix
Set the crate type to 'cdylib' and use wasm-pack to build for the web.
affects: >=0.9.2
Upgrade
Version history
0.9.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
sycamore — cargo add sycamore · libregistry