Expand description
The sycamore prelude.
In most cases, it is idiomatic to use a glob import (aka wildcard import) at the beginning of your Rust source file.
use sycamore::prelude::*;
Re-exports
Macros
A macro for ergonomically creating complex UI structures.
Structs
A special property type to allow the component to accept children.
Rendering backend for the DOM.
Rendering backend for the DOM with hydration support.
A reference to a
GenericNode
.
This allows imperatively accessing the node.Rendering backend for Server Side Rendering, aka. SSR.
Represents an UI view. Usually constructed using the
view!
macro or using the builder API.Traits
Abstraction over a rendering backend.
Trait that is implemented by all
GenericNode
backends that render to HTML.Functions
Queue up a callback to be executed when the component is mounted.
Attribute Macros
A macro for creating components from functions.