Sycamore API Documentation
Sycamore is a VDOM-less web library with fine-grained reactivity.
This is the API docs for sycamore. If you are looking for the usage docs, checkout the Sycamore Book.
Feature Flags
dom(default) - Enables rendering templates to DOM nodes. Only useful onwasm32-unknown-unknowntarget.experimental-builder-agnostic- Enables the agnostic backend builder API.experimental-builder-html- Enables the HTML specific backend builder API. Also enablesexperimental-builder-agnostic.experimental-hydrate- Enables client-side hydration support.futures- Enables wrappers aroundwasm-bindgen-futuresto make it easier to extend a reactive scope into anasyncfunction.ssr- Enables rendering templates to static strings (useful for Server Side Rendering / Pre-rendering).serde- Enables serializing and deserializingSignals and other wrapper types usingserde.wasm-bindgen-interning(default) - Enables interning forwasm-bindgenstrings. This improves performance at a slight cost in binary size. If you want to minimize the size of the result.wasmbinary, you might want to disable this.